fbpx

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 πŸ“
a
a

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. πŸ”πŸ“‚
a
a

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. 🌐πŸ“₯πŸ“€
a
a

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. πŸ“¦
a
a

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!

DevOps with AWS Training

Take your DevOps skills to the next level with our AWS training! Gain hands-on experience, real-world project exposure, and industry-recognized expertise. Enroll today and step into a high-demand career

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