Skip to main content

Posts

Showing posts from May, 2023

Linux Commands

 1. cd command This Command is used to change Directory. Syntax: cd <Directory Name> Output:  2. mkdir command This Command is used to create new directory. Syntax: mkdir <Directory Name> Output:  3. ls command This Command is used to check the list of present files in particular Directory Syntax: ls Output:  4. rm command This Command is used to remove directory or file Syntax: rm -r <directory_name>,rm <file_Name> Output:  5. pwd command This Command is used to know the current location Syntax: pwd Output:  6. vi command This Command is used to edit and create text file Syntax: vi <FileName> Output:  7. cat command This Command is used to display text files. Syntax: cat <FileName> Output:  8. cp command This Command is used to copy file or directory to some other place. Syntax: cp <file/dir name/path> <location path > Output:  9. mv command This Command is used to move and rename a file or directory. Syntax: mv <file/dir name/path>