Member-only story
CyberSecurity Linux Command
This is the second week of Beginners Linux Commands. Every week I will write about 5 Linux commands and I would encourage anyone who wants to explore the field of CyberSecurity to practice this.
- sudo -the command is used to run a single command with root permissions. The
sudo -i
command is used to instill root permissions to the user for the entire duration of the SSH session.
2. touch -The command touch
is used to create new files.
3. echo -The command echo
is used to insert text into an existing file. The command echo "Hello World" >> /home/myfile.txt
is used to insert the text “Hello World” into the file called myfile.txt.
4. cat -The command cat
is used to display the contents of a file in the terminal. An example, the command cat /home/myfile.txt
is used to display the contents of a file called myfile.txt.
5. mkdir -The command mkdir
is used to create new directories. An example, the command mkdir /home/mydirectory
is used to create a directory called mydirectory inside of the home directory.