30 Basic Linux Commands for Beginners
Table of Contents
You must be confused about how to use it, so in this article I will discuss a little about the basic Linux commands so listen to it.
- Cd : Change Directory The function of this command is to move from directory to another directory, for example I am in the home directory to the Example directory.
- Ls : List function is to view the contents of a particular directory or it could be the directory we are currently in.
- Apt-get Install : This command functions to install Linux software or tools so for example we want to install tools, we can use this command.
- Rm : The function of this command is to delete a directory.
- Rmdir : Has the same function as Rm, the difference is if Rmdir is to delete a directory that is empty or has no contents.
- Mkdir : Its function is to create a directory so if you want to create a directory you can use this command.
- Mv : Move as the name suggests its function is to move the directory at once if you want to change the name you can also use this command.
- Cp : The function of this command is to copy or duplicate a directory
- Find : Yes, like the name find, which means searching, its function is to find the file or directory you want to find.
- Kill : This command is used to kill a program process.
- Halt : The function of this command is to turn off the system.
- Adduser : Its function is to add a new user.
- History : Its function is to see the memories of the former eh, it means to see the history of the commands that we have used before ..
- Ifconfig : Functions the same as IPconfig in windows to view network information such as IP Mac address and others
- Date : Its function is to view the date.
- Who : Its function is to find out what user we are logged in.
- Chmod : Serves to change access control or permissions on certain directories or files.
- Chown : Serves to change the owner of the file or change the group.
- Zip : Its function is to make files into zip files.
- Unzip : Well, this is the opposite, which is to extract the zip file.
- Su : Its function is to change user to super user
- Passwd : Its function is to change the user's password.
- Restart : To restart the system
- Sort : Its function is to sort files.
- Git Clone : Its function is to download files from the Github repository
- Sudo : Serves to run a command as super user or root
- Tar : Its function is to create a tar file. This tar file is almost the same as a zip file, the difference is that tar only supports linux.
- Gedit : This command opens the Gedit text editor
- Nano : Has the same function to open the text editor too.
- Host : Its function is to display the hostname or domain name.
Actually there are still many basic Linux commands that I have not written in this article, but I only wrote a small part which is intended for those of you who are still unfamiliar with linux. If you want to be able to Linux, you don't have to memorize all the commands on the linux terminal, you just need to get used to using linux, eventually you will get used to it and linux commands will be embedded in your brain, so you don't need to memorize it, but practice it.