Linux

Mastering Linux: Essential Commands Every Novice Should Know 🐧

Are you new to the world of Linux? Feeling overwhelmed by the sheer volume of commands and utilities available? Don’t worry, we’ve got you covered! In this comprehensive guide, we’ll walk you through the essential Linux commands that every beginner should know. Getting Started $ ls – Displays the current date πŸ“‚ $ cd – It changes the current directoryπŸšͺ $ mkdir – It creates a new directory πŸ“ $ touch – It creates a new empty file πŸ“ Managing Files and Directories $ cp – It duplicates files and directoriesπŸ“¦ $ mv – It moves or renames files and directories. πŸ”„ $ rm – It removes files and directories. πŸ—‘οΈ User and Permissions $ ps – It showcases information about running processes. πŸ”„ $ top – It exhibits information about CPU and memory usage. πŸ’» $ kill – It terminates a running process by dispatching a signal. ☠️ Working with Files $ cat – It displays the contents of a file. 🐱 $ less – It displays the contents of a file one screen at a time. πŸ“„ $ grep – It hunts for text and strings in a given file. πŸ” $ find – It scours for files and directories. πŸ”πŸ“‚ Archiving and Compression $ tar – It forms or extracts a compressed archive. πŸ“¦ $ zip/unzip – It fabricates or extracts a compressed archive in ZIP format. πŸ“š $ chmod – It adjusts the permissions of a file or directory. πŸ”’ $ chown – It alters the owner of a file or directory. πŸ‘‘ Process Management $ sudo – It runs a command with root privileges. πŸ” $ su – It allows a user to switch to another user account. πŸ‘€ $ passwd – It changes the password of a user. Networking $ ifconfig – It presents information about network interfaces. 🌐 $ ping – It validates if a network host is reachable. πŸ“ $ ssh – It connects to a remote system over a secure shell. πŸš€ $ scp – It transports files over a secure shell connection. πŸš€πŸ“¦ $ curl/wget – It transfers data to or from a server using various protocols. 🌐πŸ“₯πŸ“€ System Management $ df/du – It discloses the available space on disks. πŸ’Ύ $ history – It showcases the sequence of previously executed commands. πŸ“œ $ uname – It reveals information about the system. ℹ️ Package Management $ apt-get/yum – It administers software packages on Debian-based and RedHat-based systems respectively. πŸ“¦ Service Management $ systemctl/service – It administers both system and service configurations. βš™οΈ $ crontab – It administers scheduled tasks. ⏰ Various $ tar-xzvf/tar-xjvf/tar-xvf – It decompresses a tar archive in different formats. πŸ“¦πŸ”“ $ man – It displays the manual page for a command. πŸ“– $ ssh-keygen – It generates SSH keys for secure shell connections. πŸ”‘ $ head/tail – It shows the first or last few lines of a file. πŸ“ƒ $ ping -c – It dispatches a specified number of ping requests to a network host. πŸ“ $ echo – It exhibits a message or variable value on the terminal. πŸ“’ Congratulations! You’ve successfully reached the end of this blog. Happy learning! https://srtechops.com/wp-content/uploads/2025/01/Remainder-App-Technology-Logo.mp4 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

LINUX COMMANDS

https://youtu.be/kP7V_gJT560?si=gSX55KzPe6jkT3hZ $ 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! https://srtechops.com/wp-content/uploads/2025/01/Remainder-App-Technology-Logo.mp4 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

Open chat
Hello, Good day!!
How can we help you?