Instruction
stringclasses
1 value
Input
stringlengths
10
75
Output
stringlengths
1
11
Respond with the appropriate Linux command for the user's question.
Convert the character set of a file
iconv
Respond with the appropriate Linux command for the user's question.
Print user and group id's
id
Respond with the appropriate Linux command for the user's question.
Conditionally perform a command
if
Respond with the appropriate Linux command for the user's question.
Configure a network interface
ifconfig
Respond with the appropriate Linux command for the user's question.
Stop a network interface
ifdown
Respond with the appropriate Linux command for the user's question.
Start a network interface up
ifup
Respond with the appropriate Linux command for the user's question.
Capture an X server screen and save the image to file
import
Respond with the appropriate Linux command for the user's question.
Copy files and set attributes
install
Respond with the appropriate Linux command for the user's question.
Report CPU and i/o statistics
iostat
Respond with the appropriate Linux command for the user's question.
Routing, devices and tunnels
ip
Respond with the appropriate Linux command for the user's question.
List active jobs •
jobs
Respond with the appropriate Linux command for the user's question.
Join lines on a common field
join
Respond with the appropriate Linux command for the user's question.
Kill a process by specifying its PID
kill
Respond with the appropriate Linux command for the user's question.
Kill processes by name
killall
Respond with the appropriate Linux command for the user's question.
List cached Kerberos tickets
klist
Respond with the appropriate Linux command for the user's question.
Display output one screen at a time
less
Respond with the appropriate Linux command for the user's question.
Perform arithmetic on shell variables •
let
Respond with the appropriate Linux command for the user's question.
Create a link to a file
link
Respond with the appropriate Linux command for the user's question.
Create a symbolic link to a file
ln
Respond with the appropriate Linux command for the user's question.
Create a function variable •
local
Respond with the appropriate Linux command for the user's question.
Find files
locate
Respond with the appropriate Linux command for the user's question.
Print current login name
logname
Respond with the appropriate Linux command for the user's question.
Exit a login shell •
logout
Respond with the appropriate Linux command for the user's question.
Display lines beginning with a given string
look
Respond with the appropriate Linux command for the user's question.
Line printer control program
lpc
Respond with the appropriate Linux command for the user's question.
Print files
lpr
Respond with the appropriate Linux command for the user's question.
Remove jobs from the print queue
lprm
Respond with the appropriate Linux command for the user's question.
List file attributes on a Linux second extended file system
lsattr
Respond with the appropriate Linux command for the user's question.
List block devices
lsblk
Respond with the appropriate Linux command for the user's question.
List information about file(s)
ls
Respond with the appropriate Linux command for the user's question.
List open files
lsof
Respond with the appropriate Linux command for the user's question.
List all PCI devices
lspci
Respond with the appropriate Linux command for the user's question.
Help manual
man
Respond with the appropriate Linux command for the user's question.
Read lines from standard input into an indexed array variable •
mapfile
Respond with the appropriate Linux command for the user's question.
Create new folder(s)
mkdir
Respond with the appropriate Linux command for the user's question.
Make FIFOs (named pipes)
mkfifo
Respond with the appropriate Linux command for the user's question.
Make a file
mkfile
Respond with the appropriate Linux command for the user's question.
Make block or character special files
mknod
Respond with the appropriate Linux command for the user's question.
Make a temporary file
mktemp
Respond with the appropriate Linux command for the user's question.
Display output one screen at a time
more
Respond with the appropriate Linux command for the user's question.
Browse or page through a text file
most
Respond with the appropriate Linux command for the user's question.
Mount a file system
mount
Respond with the appropriate Linux command for the user's question.
Manipulate MS-DOS files
mtools
Respond with the appropriate Linux command for the user's question.
Network diagnostics (traceroute/ping)
mtr
Respond with the appropriate Linux command for the user's question.
Move or rename files or directories
mv
Respond with the appropriate Linux command for the user's question.
Mass Move and rename (files)
mmv
Respond with the appropriate Linux command for the user's question.
Netcat, read and write data across networks
nc
Respond with the appropriate Linux command for the user's question.
Networking connections/stats
netstat
Respond with the appropriate Linux command for the user's question.
nftables for packet filtering and classification
nft
Respond with the appropriate Linux command for the user's question.
Set the priority of a command or job
nice
Respond with the appropriate Linux command for the user's question.
Number lines and write files
nl
Respond with the appropriate Linux command for the user's question.
Run a command immune to hangups
nohup
Respond with the appropriate Linux command for the user's question.
Send desktop notifications
notify-send
Respond with the appropriate Linux command for the user's question.
Query Internet name servers interactively
nslookup
Respond with the appropriate Linux command for the user's question.
Open a file in its default application
open
Respond with the appropriate Linux command for the user's question.
Operator access
op
Respond with the appropriate Linux command for the user's question.
Modify a user password
passwd
Respond with the appropriate Linux command for the user's question.
Merge lines of files
paste
Respond with the appropriate Linux command for the user's question.
Performance analysis tools for Linux
Perf
Respond with the appropriate Linux command for the user's question.
Test a network connection
ping
Respond with the appropriate Linux command for the user's question.
List processes by name
pgrep
Respond with the appropriate Linux command for the user's question.
Kill processes by name
pkill
Respond with the appropriate Linux command for the user's question.
Restore the previous value of the current directory
popd
Respond with the appropriate Linux command for the user's question.
Prepare files for printing
pr
Respond with the appropriate Linux command for the user's question.
Print environment variables
printenv
Respond with the appropriate Linux command for the user's question.
Format and print data •
printf
Respond with the appropriate Linux command for the user's question.
Process status
ps
Respond with the appropriate Linux command for the user's question.
Save and then change the current directory
pushd
Respond with the appropriate Linux command for the user's question.
Monitor the progress of data through a pipe
pv
Respond with the appropriate Linux command for the user's question.
Print Working Directory
pwd
Respond with the appropriate Linux command for the user's question.
Display disk usage and limits
quota
Respond with the appropriate Linux command for the user's question.
Scan a file system for disk usage
quotacheck
Respond with the appropriate Linux command for the user's question.
ram disk device
ram
Respond with the appropriate Linux command for the user's question.
Archive files with compression
rar
Respond with the appropriate Linux command for the user's question.
Copy files between two machines
rcp
Respond with the appropriate Linux command for the user's question.
Read a line from standard input •
read
Respond with the appropriate Linux command for the user's question.
Read from stdin into an array variable •
readarray
Respond with the appropriate Linux command for the user's question.
Mark variables/functions as readonly
readonly
Respond with the appropriate Linux command for the user's question.
Rename files
rename
Respond with the appropriate Linux command for the user's question.
Exit a shell function
return
Respond with the appropriate Linux command for the user's question.
Reverse lines of a file
rev
Respond with the appropriate Linux command for the user's question.
Remove files
rm
Respond with the appropriate Linux command for the user's question.
Remove folder(s)
rmdir
Respond with the appropriate Linux command for the user's question.
Remote file copy (Synchronize file trees)
rsync
Respond with the appropriate Linux command for the user's question.
Multiplex terminal, run remote shells via ssh
screen
Respond with the appropriate Linux command for the user's question.
Secure copy (remote file copy)
scp
Respond with the appropriate Linux command for the user's question.
Merge two files interactively
sdiff
Respond with the appropriate Linux command for the user's question.
Stream Editor
sed
Respond with the appropriate Linux command for the user's question.
Accept user choices via keyboard input
select
Respond with the appropriate Linux command for the user's question.
Print numeric sequences
seq
Respond with the appropriate Linux command for the user's question.
Manipulate shell variables and functions
set
Respond with the appropriate Linux command for the user's question.
Set file access control lists.
setfacl
Respond with the appropriate Linux command for the user's question.
Compute and check SHA256 (256-bit) checksums
sha256sum
Respond with the appropriate Linux command for the user's question.
Shift positional parameters
shift
Respond with the appropriate Linux command for the user's question.
Shell Options
shopt
Respond with the appropriate Linux command for the user's question.
Generate random permutations
shuf
Respond with the appropriate Linux command for the user's question.
Shutdown or restart linux
shutdown
Respond with the appropriate Linux command for the user's question.
Delay for a specified time
sleep
Respond with the appropriate Linux command for the user's question.
Find files
slocate
Respond with the appropriate Linux command for the user's question.
Sort text files
sort