Linux Fundamentals (THM).2 Flashcards
What is SSH?
Secure Shell
What does SSH allow us to do?
Execute commands on another device remotely
What happends to sent commands using SSH?
Encryption
create file
touch
create a folder
mkdir
copy file or folder
cp
move file or folder
mv
remove file or folder
rm
determine file type
file
particularities to remember for rm?
simply rm for a file
rm -R for a directory
particularities for cp?
takes 2 arguments
must input first the name of target file/folder and then new name for copy file/folder
particularities of mv?
takes 2 arguments
you can create new folders completely like in cp or replace the contents of the second argument with the first
list the permissions of all files in the directory
ls -lh
switching between users
su
important root directory for storing system files used by OS
/etc