10 Things Every Linux Beginner Should Know

HomeLinux10 Things Every Linux Beginner Should Know

10 Things Every Linux Beginner Should Know

Just like other operating systems, Linux also offers a graphical user interface and the same kinds of software you are familiar with, like word processors, video editors, picture editors, and more.

Linux is one of the best and most famous open-source operating systems, just like Windows and macOS or iOS.

Just like other operating systems, Linux also offers a graphical user interface and the same kinds of software you are familiar with, like word processors, video editors, picture editors, and more. In many cases, the developer of a software application may have created a Linux version of the same programme you use on other platforms.

Linux is a popular option for people interested in privacy protection because it enables users to personalize their experiences. As a result, a lot of consumers use VPN service providers. You can also try Linux VPN for free and secure your privacy, security, torrenting, and avoid bandwidth throttling.

Linux is being used on many gadgets you own, such as Chromebooks, digital storage devices, cameras, wearable technology, personal video recorders, Android smartphones and tablets, and other devices.

There is a lot you can do with Linux, which is a powerful programme. However, for most developers and for most purposes, knowing the 10 things described in this article will assist you in advancing quickly.

10 Important Things Every Linux Beginner Must Know

1. File System Navigation:

Being a developer, you must feel comfortable navigating the Linux file system. You’ll enter the file system after opening a terminal multiplexer like Terminator.

To find out where you are, use the Print Working Directory-PWD command. However, the Change Directory-CD command allows you to move anywhere from your current location.

(~) Represents the user’s home directory.

Some Useful Commands:

  1. Create a file: touch welcome.txt
  2. Copy a file: cp welcome.txt ciao.txt
  3. Move a file: mv welcome.txt bonjour.txt
  4. Delete a file: rm ciao.txt
  5. Delete the directory and everything in it: rm -rf ~/Downloads
  6. To see the filenames of any files in the given directory: ls ~/Downloads

You should be able to navigate the Linux file system and create, move, and remove files using a few commands.

2. Cat, Grep, and Wonders of Piping:

The ‘cat‘ or concatenate command writes the text that appears on your screen to your terminal.

[cat welcome.txt]

It is the fastest way to check the content of a file. It becomes even more effective when piped into ‘grep’:

[cat utility_list.txt | Peter]

Using ‘piping’ which includes using the output command on the left as the input command on the right, you can chain instructions together.

You can use this useful technique to conduct complex output processing by combining simple instructions. The pipe command’s most common use is for grepping the output of the left-side command.

3. Use of ‘Find’

You have entered a directory that has many subdirectories. You are aware that this directory contains a file that you require, but you are unsure of its location.

Here ‘find‘ can help you access that file.

[find. -name CS101]

4. File Ownership and Permission

The Linux file system has an owner and permissions for each file and directory. Who is permitted to do what with a file depends on its permissions.

Use the ls -l filename> command to view a file’s permissions.

This is what you’ll see in the left-most column: -rw-r—r—

5. Reverse-i-Search

A useful tool for going back through your command history and running an earlier command again. Although you may be aware that pressing the up arrow allows you to navigate through your command history, what if you want to run a command again that you last executed five minutes ago but have subsequently performed hundreds of commands?

Reverse-i-search is the ideal resource in these circumstances.

Type ctrl + r to start a reverse-i search. If there are numerous matches, you can scroll through them by pressing ctrl + r once more.

6. Following, Watching, and Tailing

You should frequently execute a command again to check for output changes on a regular basis. For instance, you could be interested in monitoring the rate at which your computer’s memory utilization is changing over time:

[watch -n 6 free -m]

The given programme will run the free command every 6 seconds to display the memory being used in megabytes.

7. Help and ‘Man’ Pages:

You can access a description of the function of the command as well as a list of all available options by entering man command>. ‘Man’ here refers to the manual, though we occasionally chuckle when we execute commands like ‘man cat’.

8. System Recourse Usage: Checking and Monitoring

It’s astonishing how frequently a lack of memory, CPU, or storage space contributes to operating system problems.

The ‘top’ command gives you plenty of details about all the processes that are active on your computer, including memory usage and CPU utilization.

You may examine a machine’s current memory use with the free command. This is helpful for determining whether a machine has sufficient memory to run.

The df -h tool displays your computer’s disc utilization in human-readable megabyte and gigabyte units rather than bytes.

9. Processes Management:

With the command below, you may inspect every process currently active on your computer:

$ ps aux

The ‘aux’ options instruct ‘ps’ to display all user-owned processes. When you suspect a process is operating improperly or is using excessive amounts of resources, this is a helpful diagnostic tool.

$ ps aux | blue sapphire

10. Text Editor (Vi):

All Linux computers come pre-configured with the antiquated, potent text editor Vi.

Vi enables you to swiftly edit and manipulate file contents on virtually any machine without having to leave your terminal.


We hope that learning more about Linux was beneficial. These were 10 things a Linux beginner must be familiar with.

Throughout your programming career, you’ll encounter a wide variety of other tools, operating systems, and frameworks. Through changes and new versions, the fundamentals have mostly remained unchanged.

hand-picked weekly content in your inbox


related posts