NEW
Font size
WorksheetsLinux Commands
Total questions: 34
Worksheet time: 11mins
Which command adds users to a system?
Chmod
Chown
Adduswer
Adduser
What question immediately ends a process instead of waiting for it to terminate?
ps
taskkill
kill
dig
To log out of the shell program, use...
logout
exit
df
close
The command used to locate a file in a directory:
get
apt-get
find
grep
To display information on the screen (as a part of a script):
echo
show
screen
get
Locate a pattern in a file or in multiple files:
apt-get
show
find
grep
Install and remove application packages
get
grep
apt-get
config
Change directory
get
dir
cd
ch
Display information about a wireless adapter
ipconfig
ifconfig
iwconfig
wconfig
View the contents of a file:
cat
find
show
grep
Change permissions for a file or directory:
chown
dir
chmod
df
Display information about your IP address (NOT configure it).
ip
ifconfig
iwconfig
chmod
Query the DNS system for information about a website.
ifconfig
ip
dnsfind
dig
Copy a file.
cat
move
cp
write
Show available disk space and file system information.
df
ds
disk
showdisk
Get rid of a mess of useless information on the terminal screen
cls
clear
wipe
blank
Change the ownership of a file or directory
chmod
chown
change
per
Troubleshoot TCP/IP connection problems
ipconfig
ifconfig
iwconfig
ip
The package manager for Red Hat Linux distributions
apt-get
sudo
grep
yum
Launch a full-screen editing program for a file
note
edit
passwd
nano
Move a file from one directory to another
mov
mv
move
chdir
Show the current working directory
dir
pwd
chdir
mkdir
List all files and directories within the current directory
dir
mkdir
ls
list
Switch user to a different user account
sudo
do
su
swu
Remove a directory
mkdir
rmdir
del
rm
Change a password for a user
pwd
password
passwd
chpass
Run a command as an admin (superuser)
su
sudo
admin
doit
Create a directory
rmdir
mkdir
crdir
make
Test network connections (like the Windows PING command)
ping
ding
ipchk
ipping
Delete file (or files)
rem
del
rm
dl
Show all running processes (like Task Manager)
proc
show
top
process
Display process IDs
ds
ps
pid
tskmgr
Display all instructions for a command
help
hlp
man
inst
Turn off the computer
quit
shutdown
shutdwn
off
