LINUX
Links
//LINUX
Installation
$ usuario normal
# root
# apt-get update
# apt-get upgrade
//LINUX Basics
ls -- directories
ls -a //ls -c
//Navigate use tab to fill
cd "folder"
cd -- back to the home directory
cd.. back to previous level
//Create directories or files
mkdir create directory mkdir Desktop/folder
rmdir Desktop/folder --remove directory
rm -rf Folder\ --remove directory with content
cp -avr Downloads/ Documents/ -- copy folder
touch file.txt create file.txt
rm Desktop/file.txt --remove file
mv file.txt folder/ ---Moves the files
Copy cp folder/file.txt Desktop/
cp file.txt newfile.txt copy and rename
//LINUX COMMANDS
pwd - absolute address
man + command name - manual
clear - clears terminal
cat textfile.txt -- peek file withot modify it
cat file.txt | less -- see data more clean, use arrows
grep linux Documents/ -- search for word / string oin file
history --
ps -aux --process status
kill + "pid"--terminates running process
passwd -- changes password
shutdown -t 300 -- shutdown after 300 secs
shutdown -r reboot
sudo -- root actions
wget + "url of the file"
sudo apt update
sudo apt upgrade
sudo apt install
sudo apt remove
sudo apt autoremove