Hey guys how are you I am back today we are going to see Linux for #devops
What is the Linux?
To understand what is Linux you have to first understand the architecture of linux.
Linux is completely based on files. There is a file system that you have to understand to learn Linux.
Linux is an open-source operating system.
it is very secure and you can add n number of user in linux.
Linux architecture consists of three kinds of stuff first is an application, the second is a shell and third one is the kernel.
If we wanna make a conversation between the application and kernel we need shell or shell scripting.
That terminal works as a shell. Where you use to write a command.
Some Important Linux Commands
pwd -> Present Working Directory via this command you can see at which directory are in right now.
cd -> Change Directory via this command you can change your directory
mkdir -> Make Directory via this command you can make a directory.
touch -> You can make files in the Directory via this command.
cat -> via this command you can see what is in the file.
echo -> via this command you can write anything on the terminal.
cp -> via this command you can copy any file from one directory to another.
mv -> via this command you can mv any file from one directory to another.
rm -> via this command you can remove any file from one directory to another.
ls -> via this command you can see all the files of the directory.
grep -> It is the command you can find any word from the file.
find -> via this command you can find any specific word.
awk -> AWK is suitable for pattern search and processing.