Learn Basic Linux Commands: Beginner’s Series Pt-2

Learn Basic Linux Commands Beginners series pt2

Learn Basic Linux Commands
Continuing the Series ...

Table of Contents

1. ls

List Directory or ls is the most commonly used basic linux command for listing the contents of the directory. If you know a little about windows cmd, you can relate it to the “dir” command that is used to list the contents of the directory.
-la expands your listing and displays all hidden files too which are not shown in normal ls command. Mostly the hidden files in linux start with a dot(.) in the beginnings of their names. The larger format also mentions the user who have access to these files. In the below screen you can see the same directory listed with -la option. we are not diving deep in learn basic linux commands series but we’ll get deeper once we’ll be writing our own scripts in advanced tutorials.
How about you forget where you were or needed to print the full path of the current working directory, that’s where we remember the “pwd” button.The pwd command is a print working directory.It’s one of the most basic and frequently used commands in Linux. As executed, the command prints the full path of the current working directory. whenever you login to your linux OS, you are operating the terminal in home directory by default shown by a Tilde(~) sign. Here in below terminal currently the user kali is in /usr/local/bin folder which is printed as we fire up pwd command.

Moving is the moment of every part of our lives and when it comes to our linux terminal it’s most ever frequently used command as if you want to do anything you most probable need to change the directory, and that’s what is this command “cd” stands for change directory.

How was this Article ?
Sending
User Review
5 (1 vote)

Related Articles

Learn Basic Linux Commands: Beginner’s Series

Although most Linux distributions have a user-friendly Graphical User Interface, learning how to use the command line can be incredibly helpful.
You have greater leverage of the device and access to functions that aren’t accessible in a graphical interface while you use the command line.

In this post, we’ll go through some very frequently used Linux commands by Linux system administrators on a regular basis.

Responses

Your email address will not be published. Required fields are marked *