
Archive for the ‘UNIX’ Category


I figured it would be a great idea to have posted a list of UNIX commands that are necessary, and fundamental. It helped today with the Mac Probook.
Following is a brief list of simple UNIX commands that will help you move around the file system, examine files, copy or delete files, do housekeeping on your account, and communicate with other users on our or other systems. For online help with any command, e.g. the ls command, type man ls .
FILE OPERATIONS: ls list files cp copy files: cp /path/name newname mv move or rename files: mv name newname rm remove (i.e. delete) files: rm name chmod change mode of file permissions: chmod xxx name cat scroll file contents: cat name more page file contents (spacebar to continue): more name less better pager than more? (q to quit): less name view view file contents (:q to quit): view name vi visual text editor (:wq to save and quit): vi name pico pico text editor (Ctrl-X to quit): pico name DIRECTORY OPERATIONS: mkdir make (create) new directory: mkdir Name cd change directory: cd /path/name cd change to your home directory: cd rmdir remove directory (if empty): rmdir Name pwd print working directory (show directory name) quota check disk space quota: quota -v SYSTEM OPERATIONS: df show free disk space du show disk usage ps list your processes kill kill a process: kill ### passwd change your password date show date and time w who is doing what on the system who who is connected to the system cal display a calendar ping ping another computer (is it alive?) finger get information on users exit exit, or logout, from the system COMMUNICATIONS: write write messages to another user's screen talk talk split-screen with another user: talk username pine send or read E-mail with pine mail system mail UNIX mail system rtin read news with tin newsreader telnet connect to another computer via the network ftp file transfer over the network










