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