Linux Overview
What is Linux & Why Linux
What is Linux & why Linux
─ Linux is an operating system that is high performing and completely free and it closely resembles UNIX.
─ Linux is an open-source and very simple to understand.
─ With Linux, users get great flexibility in customizing the system as per their desire and requirements.
─ The uptime and availability for Linux servers are very high
─ 90% of the internet is powered by LINUX servers.
─ Most of the DevOps tools are made depend on Linux environment and also it is running/working based on linux Env.
─ LINUX is a clone of UNIX
3 © Atos|Syntel - For internal use
Few tools in Linux
─ Ubuntu – (only for windows)
─ Putty
─ Putty-Gen
─ Win-SCP
─ Jump Server
4 © Atos|Syntel - For internal use
Linux Commands
─ Linux commands are known as shell commands, which is running only on Linux and Ubuntu Environment from cli or
terminal.
Commands:
pwd - Present Working Directory. Gives Absolute path
ls – list list out files in a location
cd – change directory helps to change directory
mkdir – make directory helps to create a directory
rmdir – remove directory helps to delete a directory (only vacant)
rm – remove helps to delete files & Directory
touch – create helps to create a file with any format
cat – helps to display the content of a file
cp – copy helps to copy a file or directory
5 © Atos|Syntel - For internal use
Linux Commands
mv – move helps to move a file or directory, also used to rename a file or dir
locate – helps to locate specific files in the whole system
echo – transfer helps to transfer a text into a file (e t >> t.t)
vi, vim & nano – txt editor helps to open a editor with its commands
sudo – Super user do helps to run a command with administrative privillages
df – disk space helps to show disk space in each partition
du – disk usage helps to show disk usage
tar – tar (tarballs) helps to create , list, untar a tar archived file (tar -xvf, -cvf, -tvf)
zip & unzip - helps to zip and unzip a file
apt-get – helps to download and install a package (req. sudo)
chmod - change mode helps to change the privileges of a file. (755 admin)
ping – helps to check your connection to a server
hostname – helps to show your hostname (hostname –I)
6 © Atos|Syntel - For internal use
Thank you