Some terminal basic instructions you might want to know.
If there's any others you want added, let me know.Code:rm - remove file rm -rf - remove folder cp - copy, good for one file or copying a folder, but not what's inside cp -r - copies inside the folder sudo - Run things as admin, for a limited time, basically, root do. su - Substitute user for root htop - (might need to install it) like Task manger for Windows ls - Lists basic information about files and folders in current directory ls -a - shows hidden files too apt-get - Debian-based package manager. OPTIONS: apt-get remove, apt-get install, apt-get purge, apt-get update, apt-get upgrade pacman - Arch Linux package management OPTIONS - pacman -r, pacman -S [syncs, then installs], (no purge), (see pacman -S) ,pacman -Syu nano - Easy to use text editor, Control key plus the key shown is what's needed to make the functions work ifconfig - like IPCONFIG in Windows but FAR more useful, even showing your eth# ping -cx - like PING for Windows, but you must add the -c followed by a number, or it will constantly ping a server. Control+C - Cancels a running operation Control+Z - Pauses a running process chmod - Permissions editing NOTE: CHMOD is hard to explain, but suffice to say, read this article. Javascript editor on there to show you want you need to edit CHMOD with values pwd - Print Working Directory - prints your current location in terminal - Reminded by LizardMan - cd - change directory - Suggested by Raymond - ps x - lists running tasks PID kill -9 PID# - Force kill a running task, by PID. Use with previous command


2Likes
LinkBack URL
About LinkBacks






Reply With Quote






