Cheatography
https://cheatography.com
Commands from book "Linux for OSINT. 21 day course"
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Day 1
ls |
see what folders and files are inside current directory |
cd Day_1 |
go to Day_1 directory |
mkdir new_folder |
create directory new_folder |
cat>new_file.txt |
create a new empty text file |
cd .. |
go to the parent directory |
ls>new_file.txt |
write the results of the ls command to a text file |
cp new_file.txt copy_new_file.txt |
copy text from one file to another |
cp -r new_folder copy_new_folder |
copy one directory to another directory |
rm copy_new_file.txt |
delete file |
rm -d copy_new_folder |
delete directory |
man rm |
show manual for rm command |
Day 1
ls |
see what folders and files are inside current directory |
cd Day_1 |
go to Day_1 directory |
mkdir new_folder |
create directory new_folder |
cat>new_file.txt |
create a new empty text file |
cd .. |
go to the parent directory |
ls>new_file.txt |
write the results of the ls command to a text file |
cp new_file.txt copy_new_file.txt |
copy text from one file to another |
cp -r new_folder copy_new_folder |
copy one directory to another directory |
rm copy_new_file.txt |
delete file |
rm -d copy_new_folder |
delete directory |
man rm |
show manual for rm command |
|
|
|
|
|
|
|