Ubuntu is one of the most customizable operating systems available. In order to begin to understand the various complexities of the system, you need to become familiar with the most basic commands at your disposal. In this tutorial, we will introduce you to some of the everyday commands used on the operating system. These commands will help you as you interact with the Linux interface and try understand how to use its flexible operating system.
mv: Short for move, this command can be used to move your files from one folder to another.
rm: Short for remove, this command is used to remove any files or folders.
cd: Short for change, you can use this command to change your current directory.
cp: Short for copy, this command can be used to copy files or folders in a directory.
chown: This command is used to change ownership of a file.
chmod: This command is used to change permissions on a file.
ls: Short for list, this command can be used to view all of the files and folders in your current working directory.
pwd: Short for print working directory, this command can be used to display the directory in which you are currently working.
sudo: Also referred to as superuser do, a sudo command allows you to run other commands with administrative privileges. This command is especially useful for modifying files in a directory that a user wouldn't necessarily have access to.
cd: Short for change directory, this command can be used to change the directory in which you are currently working. There are a variety of cd commands that can be used to take you to specific files or folders.
cd / : An alternate to a basic cd command, the cd / command can be used to take you to the root directory.
cd .. : This command can be used to take you up one directory level.
cd - : This command can be used to navigate to a previous directory.
Image: © Ubuntu.