Basic Linux Commands
So here are the basic Linux commands that I tried hands-on:
Linux command: cd
;this command is for you to know the content of your desktop when you are using the terminal.You can change Desktop to Documents or any places on your computer that you want to know the content using terminal.
Linux command: touch
;this command is used to add a textfile in your Desktop.
Linux command: mkdir
;this command is used to add a folder in your Desktop
Linux command: nano
;this command lets you to add a content on your textfile
Linux command: more
;this command lets you view the text file in terminal window.
;less command lets you view the text file. Less command is similar to more command but in less command, it doesn’t have to read the entire input file.
;it lets you view the content of textfile in its standard output.
;it can be used to join multiple files together and print the result on screen
Linux command: tac
;it lets you view the textfile in reverse.
Linux command: mv
mv [filename] ../Documents/
mv ginalynfile ../Documents/
;lets you move your textfile in Documents
Another use of mv command is to rename
mv filenameold filenamenew
mv ginalynfile giefile
;lets you rename your textfile
Linux command: cp
cp filename /home/user/Desktop/
cp ginalynfile /home/ghie/Desktop/
;lets you copy or transfer your textfile to your Desktop
Linux command: rm
; lets you remove your textfile
Linux command: rm -R
rm -R ginalynfile-folder
;lets you remove your textfile folder in directory
Linux command: cp (for copying or transferring your textfile into your folder)
cp textfilename filefolder
;it lets you transfer or copy your textfile to your textfilefolder
Linux command: wget
; this command lets you download using terminal.
Now, try these commands hands-on and you will see how it works. I am sure that it would be a big help for you especially and to those who are new to Linux.
You may also visit KahelOS website for more information;
Original post by Ginalyn Apostol