DevOps Day2
LINUX AND IT'S COMMANDS
What is Linux /?
Linux is free and open-source operating system. Linux stands for GNU + Linux. It is developed along with the source code of Unix and was first developed by Linus Torvalds.
Linux is a multiuser and highly secure operating system. It is lightweight and one can perform multitasks having multiple distributions like - Redhat, Fedora, Debian and many more. There is no need to purchase anti-virus, has simplified updates for all installed software.
The Kernel is the heart of Linux which takes inputs from a user through a shell and passes them on to the hardware, this is how Linux works and will get more clearer through a Linux architecture image.
Shell is the interface that lets you connect to the computer in the form of commands and the kernel will fetch the code, program or resources for you to execute the commands.
Linux Commands
Linux commands are essential for a variety of tasks, from creating files and directories to configuring system settings and running applications. There are n numbers of tasks that can be performed using Linux commands.
Basic Linux Commands :
Is - Displays information about files in the current directory.
ls - a - list all including hidden files and directory
ls -d */ - list only directories
mkdir - Creates a directory.
cp - Moves files from one directory to another.
mv - Rename and Replace the files
rm - Delete files
touch - Create empty files
Few Directory Command
cd - Change directory to the home directory
cd - - Go to the last working directory.
cd .. - Change directory to one step back.
cd ../.. - Change directory to 2 levels back.
To create nested directory A/B/C/D/E
mkdir -p a/b/c/d/e - Create nested directory
Here we have completed with Day02.
#Trainwithshubham #90daysofDevOps #devopsphodnahai