Show Menu
Cheatography

Linux for OSINT. 21 day course Cheat Sheet (DRAFT) by

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>ne­w_f­ile.txt
create a new empty text file
cd ..
go to the parent directory
ls>­new­_fi­le.txt
write the results of the ls command to a text file
cp new_fi­le.txt copy_n­ew_­fil­e.txt
copy text from one file to another
cp -r new_folder copy_n­ew_­folder
copy one directory to another directory
rm copy_n­ew_­fil­e.txt
delete file
rm -d copy_n­ew_­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>ne­w_f­ile.txt
create a new empty text file
cd ..
go to the parent directory
ls>­new­_fi­le.txt
write the results of the ls command to a text file
cp new_fi­le.txt copy_n­ew_­fil­e.txt
copy text from one file to another
cp -r new_folder copy_n­ew_­folder
copy one directory to another directory
rm copy_n­ew_­fil­e.txt
delete file
rm -d copy_n­ew_­folder
delete directory
man rm
show manual for rm command