commands Flashcards
learning unix commands
1
Q
Lists files and directories in a directory.
A
ls
2
Q
Changes the current directory.
A
cd
3
Q
Prints the current working directory.
A
pwd
4
Q
Creates a new directory.
A
mkdir
5
Q
Removes files and directories.
A
rm
6
Q
Copies files and directories.
A
cp
7
Q
Moves or renames files and directories.
A
mv
8
Q
Concatenates and displays the contents of files.
A
cat
9
Q
Searches for patterns in files.
A
grep
10
Q
Searches for files and directories.
A
find
11
Q
Changes the permissions of files and directories.
A
chmod
12
Q
Changes the owner of files and directories.
A
chown
13
Q
Displays information about running processes.
A
ps
14
Q
Provides a dynamic real-time view of the system’s processes.
A
top
15
Q
Displays the manual pages for commands.
A
man