0% found this document useful (0 votes)
49 views2 pages

Linux Commands 1

The document provides instructions for launching an Ubuntu instance on AWS and connecting to it using Putty. It explains how to generate a key pair when launching the instance, convert it to a Putty Private Key (PPK) format, and use it to authenticate the SSH connection in Putty. Basic Linux commands are also listed for managing files and directories like creating, listing, moving, copying, and deleting files and directories on the instance.

Uploaded by

Yedu Parswapu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views2 pages

Linux Commands 1

The document provides instructions for launching an Ubuntu instance on AWS and connecting to it using Putty. It explains how to generate a key pair when launching the instance, convert it to a Putty Private Key (PPK) format, and use it to authenticate the SSH connection in Putty. Basic Linux commands are also listed for managing files and directories like creating, listing, moving, copying, and deleting files and directories on the instance.

Uploaded by

Yedu Parswapu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Day1 :

Launch Instance - Select Ubuntu version 20.0


- After luanching it ask for Key Pair(to login any instance we need a key Pair),
the key will save in PEM(Private Enhanced Mail) format.
- Later we need to convert into PPK(Putty Private Key) extension should be always
PPK.
- Download Key Pair
- once the instance is launched copy the IP Adress.
- OPen the putty and give IP address near host or IP Adress and go to SSH-Auth-Open
File(select PPK File)

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

Change forn size in putty

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:

List, File Create and File Edit Commands:

sudo su - (To Switch to root)


touch yedu - to Create a file
ll - to list all files and hidden files
LS -
ls -a
ls -la
ls -lt
ls ltr - to list only created files
ls ltr - h (Human Readble format)
cat > yedu - To creae a file and write
cat yedu - to see the file content

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
-------------------------------------------------------------

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy