Recent Posts

ads

Linux commands - 2




More Linux Commands













We need to talk about the composition of command prompt

  • ~: The current directory. In bash, which is the default shell, the ~, or tilde, is a special character that expands to the path of the current user's home directory; in this case, it represents /home/ohhhvictor
  • $: The prompt symbol. This denotes the end of the command prompt, after which the user's keyboard input will appear



Remember that CD / is to go to the root






How to move to a different folder

Now from "Documents", we want to reach to the "Pictures" file



What can we do? Let's recap some commands
    • clear:           To clear everything
    • pws:            Where are we at
    • ls:                What's in here
    • cd/              The base of our file system
    • cd home/    We can go Home 


Remember that
  • using /$                          You are in root
  • using ~/Documents        You are using tilde, using your user's  home




Now let's try to go to Music folder and them back home





Creating a file


Created on desktop







Make a directory


Move a directory



Remove a directory





Deleting everything inside a directory





Checking on Manual



Use Man 


Use man to try to troubleshoot everything









Linux commands - 2  Linux commands - 2 Reviewed by ohhhvictor on July 27, 2018 Rating: 5

No comments:

Facebook

ads
Powered by Blogger.