You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Go to home , root directorycd
# Go to custom directory by replacing <directory path>cd <directory path>
# Go to moeicd moei
# Go to parent directorycd ..
mv: Move files & Directories
# mv <source><destination>
rm
# Remove a filerm -rf <file>
# Remove a file in a directoryrm -rf <directory/file>
nano
# Open edit menu of a file / if file doesn't exist, it creates itnano <file>
# CTRL + X + Y + ENTER to save & Exit
git
# Transfer a github repository into linuxgit clone https://github.com/0xmoei/Linux_Node_Guide
Screen
Sometimes we need a process to be running in the background while we exit the terminal and VPS
We can open a screen then enter our node commands in it
if we close the screen, we can return to it later
# Installsudo apt install screen
# Open a screenscreen -S <screen-name>
# Close screenCTRL + A + D
# Screens listscreen -ls
# Return to screenscreen -r <screen-name>