AWS EC2 Instance & Basic commands of Linux

Описание к видео AWS EC2 Instance & Basic commands of Linux

How to log in to remote Linux?

ssh - i pemfile username@ipaddress


How to run a command as an admin in Linux?

Sudo su

Good to know commands in Linux.

pwd - Shows the present working directory
whoami - Gives the current username
date - Gives current the date and time
history - Shows all commands you have typed in recently
cp - Used to copy a file
rm - To delete a file
clear - Clears the content of the entire terminal.
man - It's a guide to the commands.
exit - Exit and close the running terminal.
who - Shows the logged-in user of the system.
w - Same as who and also show the current process
mkdir - Used to make directory
cat - Display the content of the file.
mv - Used to move file /folder from source to destination.
alias- Give a name for the command and execute using it.
echo - Prints text on terminal
ls - List file and folder

Комментарии

Информация по комментариям в разработке