According to William Shotts in the Fifth Internet Edition of the book “The Linux Command Line” described "Freedom is the power to decide what your computer does, and the only way to have this freedom is to know what your computer is doing. Freedom is a computer that is without secrets, one where everything can be known if you care enough to find out.”
This article help you remember some basic Linux Commands that every Linux user should know. It’s basic but useful.
kali@kali:~/Workspace/python/env$ cp pyvenv.cfg pyvenv.cfg.2 kali@kali:~/Workspace/python/env$ ls bin lib pyvenv.cfg pyvenv.cfg.2 kali@kali:~/Workspace/python/env$
mv Command
Move/rename files and directories
1
mv item1 item2
1 2 3 4 5 6 7 8 9
kali@kali:~/Workspace/python/env$ ls bin lib pyvenv.cfg pyvenv.cfg.2 kali@kali:~/Workspace/python/env$ mv pyvenv.cfg.2 /home/kali kali@kali:~/Workspace/python/env$ ls bin lib pyvenv.cfg kali@kali:~/Workspace/python/env$ cd ~ kali@kali:~$ ls pyvenv.cfg.2 Workspace kali@kali:~$
rm Command
Remove Files and Directories
1
rm item1
1
rm item1 item2
1 2 3 4 5 6
kali@kali:~$ ls pyvenv.cfg.2 Workspace kali@kali:~$ rm pyvenv.cfg.2 kali@kali:~$ ls Workspace kali@kali:~$
-r : is an option of the rm command, indicating recursive processing, all files in the specified directory will be processed together with subdirectories
-f : is optional to the rm command, which means to force the deletion of a file or directory
🤭
mkdir Command
Create Directories
1
mkdir directory
1 2 3 4
kali@kali:~$ mkdir Test kali@kali:~$ ls Test Workspace kali@kali:~$
CloseX exploring the unknown, fusing AI to design a tech-driven future. A flexible organization focused on software and hardware innovation and knowledge sharing, advancing civilization.