Basic UNIX Commands by Donald Hyatt. The UNIX operating system has for many years formed the backbone of the. Internet, especially for large servers and most major university campuses. However, a free version of UNIX called Linux has. Macintosh and the Microsoft. Windows 9. 5/9. 8/NT environments, so often associated with personal computers. Developed by a number of volunteers on the.
Internet such as the Linux group and the GNU project, much of the open- source software is. This. is especially valuable for those in educational environments where. UNIX commands can often be grouped together to make even more powerful. I/O redirection ( <. Please investigate manuals in the. The following charts offer a summary of some simple UNIX commands. These. are certainly not all of the commands available in this robust operating.
Ten ESSENTIAL UNIX Commands. These are ten commands that you really need to know in order to get started. UNIX. They are. probably similar to commands you already know for another operating system.
Basic UNIX commands Note: not all of these are actually part of UNIX itself, and you may not find them on all UNIX machines. But they can all be used on turing in. Basic Unix Commands Syntax Explanation Example Options Connecting to UNIX system You can use different. manual pages man less Few Unix Tutoriasl on the Web.
Command Example. Lists files in current directory.
List in long format. Change directory to tempdir. Move back one directory. Move into dhyatt's web- docs directory. Make a directory called graphics. Remove directory (must be empty). Copy file into directory.
Make backup of file. Remove or delete file. Remove all file. mv old. Move or rename files. Look at file, one page at a time.
- Beginners guide to the UNIX / Linux operating system. Eight simple tutorials which cover the basics of UNIX.
- Unix Primer - Basic Commands In the Unix Shell. If you have no experience with the Unix command shell, it will be best to work through this primer.
- Leaflet U5 Thirty Useful Unix Commands Last revised April 1997 This leaflet contains basic information on thirty of the most frequently used Unix Commands.
- Quick Reference: Unix Commands. Commonly used commands and options on Unix computers. Displays Unix Manual entry for a command. man command .
Knowing basic Unix commands should allow you to navigate your Unix system, confirm current system status and manage files or directories. Getting help man. Basic Unix Tutorial - Free download as Word Doc (.doc), PDF File (.pdf), Text File (.txt) or read online for free. Basic Unix Commands. Some Basic UNIX Commands by Donald Hyatt The UNIX operating system has for many years formed the backbone of the Internet, especially for large servers and most major.
Send file to printer. Online manual (help) about command. Ten VALUABLE UNIX Commands. Once you have mastered the basic UNIX commands, these will be quite valuable. Command Example. Find which files contain a certain word. Change file permissions read only.
Change file permissions to executable. List all running processes by #IDList process #ID's running by dhyatt. ID>. kill - 9 8. Kill process with ID #8. Compile a program written in CCompile a program written in C++.
Compress file Uncompress file. Send file. 1 by email to someone Read mail using pine. Open a connection to vortex.
Open a secure connection to jazz as user dhyatt. Upload or Download files to station. Connect to archives at UNC. Ten FUN UNIX Commands. These are ten commands that you might find interesting or amusing. They are. actually quite helpful at times, and should not be considered idle entertainment. Command Example.
Lists who is logged on your machine. Lists who is on computers in the lab. Talk online with dhyatt who is on threat. Lists commands you've done recently. Print random humerous message. Print out current date.
Print calendar for September 2. Keep track of cursor (in "background"). Calculator ("background" process).
Print 8 pages on a single sheet and send to printer. Ten HELPFUL UNIX Commands. These ten commands are very helpful, especially with graphics and word processing type applications. Command Example.
Run Netscape browser. Run graphics file converter.
Run drawing program. Run photoshop type program. Spell check file. Run La. Te. X, a scientific document tool. Different editors.
Run Star. Office, a full word processor. DOS commands from UNIX (dir A: )Copy file. A. gnuplot. gnuplot. Plot data graphically.
Ten USEFUL UNIX Commands. These ten commands are useful for monitoring system access, or simplifying your. Command Example. See how much free disk space. Estimate disk usage of directory in Bytes.
F". Create new command "lls" for long format of ls. Permit window to display from x- window program from threat. Allow no x- window access from other systems. Fold or break long lines at 6. Create an archive called subdir. Extract files from an archive file. View a Postscript file.
See if machine is alive. Print data path to a machine.
Print system usage and top resource hogs. How to quit a UNIX shell. Some Other Useful Pages.
Unix Useful Commands. This quick guide lists commands, including a syntax and brief description.
For more detail, use −. Files and Directories. These commands allow you to create directories and handle files. Command. Descriptioncat. Display File Contentscd.
Changes Directory to dirnamechgrpchange file groupchmod. Changing Permissionscp. Copy source file into destinationfile.
Determine file typefind. Find filesgrep. Search files for regular expressions. Display first few lines of a fileln. Create softlink on oldnamels. Display information about file type.
Create a new directory dirnamemore. Display data in paginated form.
Move (Rename) a oldname to newname. Print current working directory. Remove (Delete) filenamermdir. Delete an existing directory provided it is empty. Prints last few lines in a file. Update access and modification time of a file. Manipulating data.
The contents of files can be compared and altered with the following commands. Command. Descriptionawk. Pattern scanning and processing languagecmp. Compare the contents of two filescomm. Compare sorted datacut. Cut out selected fields of each line of a filediff. Differential file comparatorexpand.
Expand tabs to spacesjoin. Join files on some common fieldperl. Data manipulation languagesed. Stream text editorsort. Sort file datasplit. Split file into smaller filestr. Translate charactersuniq.
Report repeated lines in a filewc. Count words, lines, and charactersvi. Opens vi text editorvim. Opens vim text editorfmt. Simple text formatterspell.
Check text for spelling errorispell. Check text for spelling errorispell. Check text for spelling erroremacs. GNU project Emacsex, edit.
Line editoremacs. GNU project Emacsemacs. GNU project Emacs.
Compressed Files. Files may be compressed to save space.
Compressed files can be created and examined −Command. Descriptioncompress. Compress filesgunzip. Uncompress gzipped filesgzip. GNU alternative compression methoduncompress.
Uncompress filesunzip. List, test and extract compressed files in a ZIP archivezcat. Cat a compressed filezcmp. Compare compressed fileszdiff. Compare compressed fileszmore. File perusal filter for crt viewing of compressed text. Getting Information.
Various Unix manuals and documentation are available on- line. The following Shell commands give information −Command. Descriptionapropos.
Locate commands by keyword lookupinfo. Displays command information pages onlineman.
Displays manual pages onlinewhatis. Search the whatis database for complete words. GNOME help viewer.
Network Communication. These following commands are used to send and receive files from a local UNIX hosts to the remote host around the world.
Command. Descriptionftp. File transfer programrcp.
Remote file copyrlogin. Remote login to a UNIX hostrsh. Remote shelltftp. Trivial file transfer programtelnet. Make terminal connection to another hostssh.
Secure shell terminal or command connectionscp. Secure shell remote file copysftpsecure shell file transfer program.
Some of these commands may be restricted at your computer for security reasons. Messages between Users. The UNIX systems support on- screen messages to other users and world- wide electronic mail −Command.
Descriptionevolution. GUI mail handling tool on Linuxmail. Simple send or read mail programmesg. Permit or deny messagesparcel. Send files to another userpine. Vdu- based mail utilitytalk. Talk to another userwrite.
Write message to another user. Programming Utilities. The following programming tools and languages are available based on what you have installed on your Unix. Command. Descriptiondbx. Sun debuggergdb. GNU debuggermake. Maintain program groups and compile programs. Print program's name listsize.
Print program's sizesstrip. Remove symbol table and relocation bitscb. C program beautifiercc.
ANSI C compiler for Suns SPARC systemsctrace. C program debuggergcc. GNU ANSI C Compilerindent. Indent and format C program sourcebc. Interactive arithmetic language processorgcl. GNU Common Lispperl. General purpose languagephp.
Web page embedded languagepy. Python language interpreterasp. Web page embedded language. CCC++ compiler for Suns SPARC systemsg++GNU C++ Compilerjavac. JAVA compilerappletvieweir.
JAVA applet viewernetbeans. Java integrated development environment on Linuxsqlplus. Run the Oracle SQL interpretersqlldr.
Run the Oracle SQL data loadermysql. Run the mysql SQL interpreter.
Misc Commands. These commands list or alter information about the system −Command. Descriptionchfn. Change your finger informationchgrp.
Change the group ownership of a filechown. Change ownerdate. Print the datedetermin. Automatically find terminal typedu. Print amount of disk usageecho. Echo arguments to the standard optionsexit.
Quit the systemfinger. Print information about logged- in usersgroupadd. Create a user grouptd> groups.
Show group membershipshomequota. Show quota and file usageiostat. Report I/O statisticskill.
Send a signal to a processlast. Show last logins of userslogoutlog off UNIXlun. List user names or login IDnetstat. Show network statuspasswd. Change user passwordpasswd. Change your login passwordprintenv. Display value of a shell variableps.
Display the status of current processesps. Print process status statisticsquota - v.
Display disk usage and limitsreset. Reset terminal modescript. Keep script of terminal sessionscript. Save the output of a command or processsetenv. Set environment variablesstty. Set terminal optionstime. Time a commandtop.
Display all system processestset. Set terminal modetty. Print current terminal nameumask.
Show the permissions that are given to view files by defaultuname. Display name of the current systemuptime.
Get the system up timeuseradd. Create a user accountusers. Print names of logged in usersvmstat. Report virtual memory statisticsw. Show what logged in users are doingwho. List logged in users.