These days, you can search the internet for the usage and examples of any command. But it was not like this when the internet didn’t exist, or it was not as widely available to everyone. For this reason, commands in Linux (and
Read More
You have learned a bunch of file operations so far in this Terminal Basics series. You learned to create new files, delete existing ones, and copy and move them. It is time to take it to the next level. Let’s see how
Read More
Cut, copy and paste are part of everyday computing life. In the previous chapter, you learned about copying files and folders (directories) in the terminal. In this part of the Terminal Basics series, you’ll learn about the cut-paste operation (moving) in the
Read More
Copying files is one of the most basic yet crucial tasks you will be doing regularly. Linux has a dedicated cp command for copying both files and directories (folders). In this part of the Terminal Basics series, you’ll learn to copy files
Read More
In the earlier chapters of the Terminal Basics series, you learned to create new files and directories (folders). Let’s now see how you can delete files and folders in the Linux terminal. Deleting files To remove files, you can use the rm
Read More
You learned to create new files in the previous chapter of the Terminal Basics series. In this chapter, you’ll learn to read the files. I’ll be discussing the most common Linux commands to display the contents of a text file. Before you
Read More
So far, in this Terminal Basics series, you have learned to: Change directories Make new directories List directory contents Let’s now learn about creating files in the Linux command line. I’ll briefly discuss adding content to the file. However, details on editing
Read More
The ls command in Linux is used for listing the contents of directories. You can think of ls as a short form for list. There is more to just listing what a directory consists of. You can see the file size, the
Read More
In the previous chapter of the Terminal Basics series, you learned about changing folders in the Linux command line. I gave an exercise at the end that briefly mentioned making directories. In this part of the series, I’ll discuss how you can
Read More
The cd command in Linux allows you to change directories. You just have to give the path to the directory. cd path_to_directory And here comes the first challenge if you are new to Linux. You are probably not sure about the path.
Read More