When hearing about Linux, most people think of a complicated operating system that is only used by programmers. But it’s not as scary as it seems.
Linux is an entire family of open-source Unix operating systems, that are based on the Linux Kernel. This includes all of the most popular Linux based systems like Ubuntu, Fedora, Mint, Debian, and others. More accurately, they’re called distributions or distros.
Since Linux was first released in 1991, it has continued to gain popularity due to its open-source nature. People can freely modify and redistribute it under their own name.
When operating a Linux OS, you need to use a shell — an interface that gives you access to the operating system’s services. Most Linux distributions use a graphic user interface (GUI) as their shell, mainly to provide ease of use for their users.
That being said, it’s recommended to use a command-line interface (CLI) because it’s more powerful and effective. Tasks that require a multi-step process through GUI can be done in a matter of seconds by typing commands into the CLI.
So if you’re considering using Linux, learning basic command lines will go a long way. In this article, you’ll learn 35 basic Linux commands that will undoubtedly help you navigate through Linux as a newbie.
Linux Basic Commands
Before we go on to the list of commands, you need to open the command line first. If you are still unsure about the command-line interface, check out this CLI tutorial.
Although the steps may differ depending on the distribution that you’re using, you can usually find the command line in the Utilities section.
Here is a list of basic Linux commands:
1. pwd command
Use the pwd command to find out the path of the current working directory (folder) you’re in. The command will return an absolute (full) path, which is basically a path of all the directories that starts with a forward slash (/). An example of an absolute path is /home/username.