thumbnail

Basic Linux Commands pt1

Enter the correct Linux Command
Quiz by 21stCenturyNomad
Rate:
Last updated: October 24, 2021
You have not attempted this quiz yet.
First submittedOctober 24, 2021
Times taken161
Average score51.5%
Report this quizReport
6:00
Enter answer here
0
 / 33 guessed
The quiz is paused. You have remaining.
Scoring
You scored / = %
This beats or equals % of test takers also scored 100%
The average score is
Your high score is
Your fastest time is
Keep scrolling down for answers and more stats ...
Hint
Answer
used in vi/vim to save a file
:w
used to install and update packages
apt-get
display contents of file?
cat
change directory
cd
change permissions granted
chmod
change owners
chown
copy
cp
copy or convert data; delete lines
dd
disk space of partitions?
df
displays files in current directory
dir
disk usage of file?
du
help move data; text or file
echo
Command for filtering?
grep
all pass commands in terminal session?
history
used in vi/vim to insert
i
wireless version of ifconfig
iwconfig
terminate a process
kill
Hint
Answer
locate a file
locate
list all files?
ls
Help or manual page?
man
used to format a partition
mkfs
used to format a swap partition
mkswap
attach an external storage drive
mount
move files
mv
used in vi/vim to open a new line
o
change user password
passwd
status of processes running for
a user
ps
to know which dir your working in?
pwd
remove or delete files
rm
used to use privileges of another account
su
regular user with superuser privileges
sudo
Details on all Active Processes
top
is a screen-oriented text editor
vi
1 Comments
+2
Level 56
May 31, 2022
1. apt-get is not only outdated, it's only true for debian based distros

2. dir and ls are identical

3. Vi/Vim/Neovim shortcuts aren't the same as bash commands

4. "List all files" should at least imply ls -a