Professional Documents
Culture Documents
Here the home folder is accessed through terminal using the command ls which is the
same as you open the home folder from Places. You can see the different colour
combination. The blue colour folders represents the directory and the plain
whiterepresent a normal file. There also can be another colour defining the respective
characteristic of the folder.
The first information that you see in the command line is your username which is sachit
in my case and @ubuntu is the name of the computer. After that information The ~ sign
denotes the home which is same location as you go in the place>>>home. $sign is a
symbol for regular user that means you are login as regular user not the root user. The
full information is like this in my ubuntu: sachit@ubuntu:~$(which you can see
screenshot below)
To copy:
Lets learn how to copy though the terminal. I am going to make the copy of the file
words.txt which I am going to save as words-new.txt.
As, you can see in the picture the files words-new.txt is renamed as rename.txt using the
command mv.
Creating a new folder:
Let me create a folder name: ubuntu_rules which I am going to do as:
Fo
lder:ubuntu_rules is create using the command mkdir.
Moving the files:
Now, I want to move all the text files in the Home Folder that I created to a newly
created folder ubuntu_rules.
Here the *
stands for all which means I am moving the all text files into the folder
To view the text file:
Go the the specific folder where the text files are located using the command cd and
typeless filename.txt. I am going to open the text file rename.txt.
As, I enter this command text file
rename is executed as: