USING THE TERMINAL
Introduction to using the
command-line interface terminal
-File & Directory Commands-
- pwd: The pwd command will allow you to know in which directory you're located (pwd stands for "print working directory").
- ls: The ls command will show you ('list') the files in your current directory.
- cd: The cd command will allow you to change directories.
- cp: The cp command will make a copy of a file for you.
- mv: The mv command will move a file to a different location or will rename a file.
- rm: Use this command to remove or delete a file in your directory.
- rmdir: The rmdir command will delete an empty directory.
- mkdir: The mkdir command will allow you to create directories.
- cad:As a user, you often need to view some of text or code from your script.
Again, one of the Linux basic commands is cat command. It will show you
the text inside your file.
- nano:Nano is text editor in console, if the <file-name> doesn’t exist nano creates the file and if exist nano opens the file.
No comments:
Post a Comment