Study the basic and advanced commands of Linux/UNIX such as ls, touch, mkdir, rm, cp, mv, rmdir, man, cd, history, pwd, clear, head, tail, cat, wc, date, timedatectl, su, sudo, chage, etc.
- In this practical, we will cover the basics of the Linux/UNIX file system.
- We will also cover the commands that are used to work with the file system such as ls, touch, mkdir, rm, cp, mv, rmdir, man, cd, history, pwd, clear, head, tail, cat, wc, date, timedatectl, su, sudo, chage, etc.
- ls – List directory contents
- touch – Create an empty file or update file timestamps
- mkdir – Create a new directory
- rm – Remove files or directories
- cp – Copy files or directories
- mv – Move or rename files or directories
- rmdir – Remove a directory
- man – Display the manual pages for a command
- cd – Change the current working directory
- history – View a list of recently executed commands
- pwd – Print the current working directory
- clear – Clear the terminal screen
- head – Display the first few lines of a file
- tail – Display the last few lines of a file
- cat – Concatenate and display files
- wc – Count the number of lines, words, and characters in a file
- date – Print or set the system date and time
- timedatectl – Control the system time and date settings
- su – Switch user account to become a different user
- sudo – Execute a command with superuser privileges
- chage – Change the password expiration settings for a user account