$ date – Displays the current date.
$ cal – Displays the calender of the current month.
$ whoami – Displays the currently logged-username.
$ clear – Clear terminal screen.
$ pwd – Displays the current working directory.
$ mkdir <directory_name> – Create a directory.
$ rmdir <directory_name> – Remove an Empty Directory.
$ rm -r <directory_name> – Remove the directory along with their contents present inside the directory.
$ ls – List contents of the current directory.
$ ls <directory_path> – List contents of a specific directory.
$ ls -l – Listing detailed information about files and directory.
$ ls -lr – Listing files and directories in reverse order.
$ ls -lt – Displaying the most recently modified files & directories at the top.
$ ls -ltr – Displaying the most recently modified files & directories in reverse order.
$ ls -a – List all files and directories, including hidden ones, within a directory.
$ touch <filename> – Create a empty file.
$ rm <filename> – Remove files.
$ mv <old_directory_name> <new_directory_name> – Renaming directories.
$ mv <old_filename> <new_filename> – Renaming file.
$ mv <file_name> <destination_directory_path> – Move a file to a directory.
$ mv <directory_name> <destination_directory_path> – Move a directory.
$ history – Display linux Command excuted in the terminal.
$ history 10 – Display the last 10 commands executed.
$ history -c – Clear the entire command history.
$ cat <filename> – Displaying file contents.
$ cat > filename.txt – create and edit a text file named ‘filename.txt’ by allowing you to type and save content from the terminal.
$ cat >> filename.txt – Append new content to the end of an existing file named ‘filename.txt’ without overwriting its current contents.
$ cat -n <filename> – Display file content with line number.
$ cat file1.txt file2.txt > combinedfile.txt – Concatenate multiple files and save them to a new file.
$ tac <filename> – Display the contents of a file in reverse order.
$ cd <directory_name> – Change directory.
$ cd .. – Exit from the current working directory.
$ cd ~ – Go to your home directory.
Congratulations! You’ve successfully reached the end of this blog. Happy learning!
Devops Multi cloud Training
Choose the training style that fits your schedule โ Self-Paced or Live Interactive Sessions. Both include hands-on projects, expert support, and lifetime access.
Feature | Self-Paced Training | Live Training |
---|---|---|
๐ฏ Mode | ๐ฅPre-Recorded Session | ๐งโ๐ซLive Class + Recordings |
๐ผ Projects | ๐ Weekend Real-Time Projects | ๐ Weekdays + Weekend Real-Time Projects |
โ Doubt Clearing | ๐ Weekend Live Support Session | ๐ง Anytime Doubt Clearing Session |
๐ฅ Career Support & Mentorship | โ No | โ Yes |
๐ Global Certification Training | โ No | โ Yes |
๐ Access | โพ๏ธ Lifetime Access | โพ๏ธ Lifetime Access |
๐ฐ Fees | โน4,999 (2 x โน2,500) | โน7,999 (2 x โน4,000) |
โน๏ธ For More Info | Explore Self-Paced Training | Explore Live Training |