🐧Linux Basics
A list of useful Linux commands you should know
Making a file executable:
chmod +x fileExecuting a file:
./fileStarting a executable in a screen to keep it running after you disconnect from your vps:
screen -S name ./fileResuming a screen:
screen -r nameKilling all screens:
pkill screenEditing a file in the console:
nano file-> to save pressCTRL + Ofollowed byENTERandCTRL + XChanging directory:
cd directoryGoing back one directory:
cd ..Listing everything in your current folder:
lsorls -lfor more information orls -afor hidden files.
Last updated