Linux is a family of open source operating systems which use the Linux kernel. Linux kernel was first developed by Linus Torvalds that’s why it is known as Linux. Now it is the most popular Operating system and is heavily adopted in industries.
Linux is mostly available in package distribution and this distribution has a Linux kernel and supported software and libraries from GNU which provides the license for Linux software. There are many distributions available in the market in which Ubuntu, Debian, Fedora, and Linux are famous distributions.
As I said Linux distributions are open sources means Users need not pay to get distributions. You can get direct access to the Linux kernel and do the modification, write new software and can launch your own distribution but before that, your distribution must be approved by GNU.
Shell is a term used in Linux for a User interface. In Linux shell may be graphical or command line interface(CLI).CLI is basically using the text method for input and output.BASH(Borne Against Shell) is the most popular shell for GNU projects
man command is used for reference manual of Linux command.
pwd command is used to know the present working directory. As you can see in below snippet your current working directory is embedclogic(
ls command is use to show all the contents in working directory.
ls [options] filename1 filename2...
See below snippet for options
ls -l is used to print all details like permission, user, administrator, size and time of file creation.
Command is used to give read(r),write(w),execute(x) permission to user(u) ,group(g),others(o).
$chmod permission filename
if you give 777 permission then it means user, member of group and others have permission to read, write and execute.see below example snippet.
We can also use ‘+’ or ‘-‘ to add permission or remove permission. see last command examples in below snippet –
This command is use to create new directory.see below snippet –
remove non-empty directory.see below snippet for examples-
|apt-get install <package-name>||To install the software package|
|apt-get update||Will search updates for all installed packages from the server.|
|apt-get upgrade||will upgrade installed package|
|apt-get remove <package-name>||To remove |
I have explained here very basic commands for Ubuntu distribution. Although it is not sufficient yet it will be helpful if you are starting your Linux journey.