Commands Flashcards
1
Q
ls
A
List directory contents.
2
Q
cd
A
Change the current working directory.
3
Q
pwd
A
Print the current working directory.
4
Q
mkdir
A
Create a new directory.
5
Q
rm
A
Remove files or directories.
6
Q
cp
A
Copy files or directories.
7
Q
mv
A
Move (rename) files or directories.
8
Q
touch
A
Create an empty file.
9
Q
cat
A
Display the contents of a file.
10
Q
nano
A
A simple text editor.
11
Q
vi
A
A powerful text editor.
12
Q
grep
A
Search for a specific text pattern in files.
13
Q
find
A
Search for files and directories.
14
Q
chmod
A
Change file permissions.
15
Q
chown
A
Change file ownership.