Professional Documents
Culture Documents
Linux Commands 1
Linux Commands 1
Download and Install Putty ( Check for bit Number - x64 or x32)
Download Putty Zen
Putty used for to connect Linux( Also we can login through gitbash or amazon direct
connection)
Putty Zen used for Key Generator
login as UBUNTU in putty login page, for other linux can login through EC2-USER
Note : Do not required to generate a new key pair for every instance launching,
we can use exiting key pair for any type of instance such as Linux,ios and Windows
etc until we are changed to other region.
we can connect Linux instance through putty, Direct Connect , Git Bash
Login throuhg GitBash : ssh ubuntu@IPADRESS -i AWS-ECE.pep)
Linux Commads:
To Create Dir:
MKDIR yedu - To Create directory
MKDIR SYAM1 SYSM2 SYAM3 - To Create multiple directories
CP file dir - file move to dir as well in retain
mv file dir - File will move to Directory and delete from source
rm file - to remove file
rm file1 file2 - to remove multiple files
cd dir - to move other dir
cd .. - to come back previous dir
cd /root/ - to come back root dir
cd /syam/yedu/root/ - to come back into root dir from multiple dir
rmdir syam
rmdir syam syam1 syam2 - to remove multiple dir
rm -rf syam2 - To forcefullu delete the file
mv syam syam1 - To change the dir name
-------------------------------------------------------------