Skip to content

Getting Started With Linux Terminal

Want to know the basics of the Linux command line? Here's a tutorial series with a hands-on approach.

The Linux terminal could be intimidating. The dark screen with just commands to use. It's easy to feel lost.

The thing is that Linux command line is a vast topic. You can manage the entire system using just the commands. I mean that's the role of sysadmins, network engineers and many other jobs.

The aim of this tutorial collection is not to make you job-ready. It intends to give you the starting point of your Linux command line journey. It will give you enough to navigate the terminal and understand a few basic things like reading files and editing them.

Since it's just the beginning, most of the tutorials are in the 'file operation' category. That's where most Linux books and courses begin.

📋

The best way to learn is by doing it yourself. I have written the tutorials in 'hands-on mode' so you can follow the examples on your Linux system. Each chapter in the series contains some sample exercises to practice your learning. Follow, practice and you'll be getting better at Linux command line in no time.

Prerequisite

When you are absolutely new to the terminal, you'll find yourself lost even while reading the tutorials. That's because you may know always understand even the simplest of terms.

The article below will help you with some of that. While some of the tips I shared may be a little advance or not-so-useful for you at this moment, you'll find plenty of useful stuff.

19 Basic But Essential Linux Terminal Tips You Must Know

What will you learn here?

  • Changing directories: In the first chapter, learn to switch directories (folders) using absolute and relative paths. This way, you can navigate in the Linux command line.
  • Making directories: Now that you know about switching directories, learn about creating new ones.
  • Listing directory content: You are getting a good grasp of the directories. Learn to see inside directories and see what files and subdirectories do they have.
  • Creating files: Enough about directories. Learn to create new files in the Linux command line.
  • Reading files: What's inside the file? Learn to read text files in this chapter.
  • Deleting files and directories: Now that you have learned to create new files and folders, it's time to delete them.
  • Copying files and directories: Keep on with the file operations and learn to copy files and directories in this installment of the terminal basics series.
  • Moving files and directories: Moving file operation is like cut-paste. You can use the same method for renaming files and directories as well.
  • Editing files: As the last major file operation, learn to edit text files in the command line.
  • Getting help: Now that you have learned plenty of the basic Linux command line operation, it's time to know how you can get help in the terminal itself.

Where to go from here?

Now that you are more comfortable with the terminal and know the basic file operations in the command line, you may wonder what comes next.

I will suggest getting a Linux book like How Linux Works. However, you can start with any Linux book you come across. Here are a few Linux books I love.

Best Linux Books For Beginners to Advanced Linux Users

Don't want to spend money on books yet? No worries! Here are some free Linux ebooks you can download.

20 Best Linux Books You Can Download For Free Legally

Bash scripting is also an integral part of Linux learning. Even if you don't have to write shell scripts, if you know the basics, you should be able to understand scripts you come across while using Linux.

Learn Bash Scripting For Free With This Tutorial Series

There is no limit to learning. It's impossible to know it all. Yet, if you know at least the basics, it helps you in using the system more effectively.

🗨 I hope you like this Linux terminal tutorial series. Do share your feedback in the comments section.


via: https://itsfoss.com/linux-terminal-basics/

Author: Abhishek Prakash

Comments