Posts

Showing posts from October, 2018

Basic Commands For Linux

Image
1. pwd  —  When you first open the terminal, you are in the home directory of your user. To know which directory you are in, you can use the  “pwd”  command. It gives us the absolute path, which means the path that starts from the root. The root is the base of the Linux file system. It is denoted by a forward slash( / ). The user directory is usually something like "/home/username". nayso@Alok-Aspire:~$ pwd /home/nayso 2. ls  — Use the  "Is"  command to know what files are in the directory you are in. You can see all the hidden files by using the command  “ls -a” . 3. cd  — Use the  "cd"  command to go to a directory. For example, if you are in the home folder, and you want to go to the downloads folder, then you can type in “cd Downloads” . Remember, this command is case sensitive, and you have to type in the name of the folder exactly as it is. But there is a problem with these commands. Imagine you have a folder named...

What is Linux?

Image
Linux is an operating system's kernel. You might have heard of UNIX. Well, Linux is a UNIX clone. But it was actually created by Linus Torvalds from Scratch. Linux is free and open-source, that means that you can simply change anything in Linux and redistribute it in your own name! There are several Linux Distributions, commonly called “distros”. Ubuntu Linux Red Hat Enterprise Linux