Linux fundamentals tryhackme Flashcards
echo
Output any text that we provide
whoami
Find out what user we’re currently logged in as!
ls
listing
cd
Change Directory
cat
concatenate
pwd
print working directory
find
search for files in a directory hierarchy
grep
Grep, short for “global regular expression print”, isa command used for searching and matching text patterns in files contained in the regular expressions.
&
This operator allows you to run commands in the background of your terminal.
&&
This operator allows you to combine multiple commands together in one line of your terminal.
>
This operator is a redirector - meaning that we can take the output from a command (such as using cat to output a file) and direct it elsewhere.
> >
This operator does the same function of the > operator but appends the output rather than replacing (meaning nothing is overwritten).
What is SSH and how does it work
Secure Shell or SSH simply is a protocol between devices in an encrypted form. Using cryptography, any input we send in a human-readable format is encrypted for travelling over a network – where it is then unencrypted once it reaches the remote machine,
SSH allows us to remotely execute commands on another device remotely.
Any data sent between the devices is encrypted when it is sent over a network such as the Internet
–help
This option is, in fact, a formatted output of what is called the man page (short for manual), which contains documentation for Linux commands and applications.
–help
This option is, in fact, a formatted output of what is called the man page (short for manual), which contains documentation for Linux commands and applications.