fbpx
$ 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.

FeatureSelf-Paced TrainingLive 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 InfoExplore Self-Paced Training Explore Live Training
Open chat
Hello, Good day!!
How can we help you?