The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers > Answers to Frequently Asked Questions > Tips and Tutorials
Google UNIX.COM


Tips and Tutorials Helpful articles from our Users.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Basic unix command help plz tragic54 UNIX for Dummies Questions & Answers 4 03-12-2008 06:55 AM
Submit A Basic System Administration Command osca7578 SUN Solaris 7 12-11-2007 02:34 PM
Unix basic help carrera911 UNIX for Dummies Questions & Answers 2 08-24-2006 07:28 PM
basic unix file command! kev112 Shell Programming and Scripting 2 05-10-2005 02:40 AM
Cisco ISO basic command Yeliu IP Networking 1 09-17-2002 09:34 PM

 
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-31-2002
binhnx2000's Avatar
Registered User
 

Join Date: Jul 2002
Location: France
Posts: 78
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Wink Unix Basic Command

A

at : execute commands at a specified time/date.
awk: a scripting language, especially useful for manipulating text and automation.

B
bash : invokes the Bourne Again Shell (standard on most boxes).
batch: execute comands when load permits.
bc : interactive C-like calcultor (integers only).

C
cal : displays a calender, also lets you choose month/year using parameters.
calender : invoke a reminder service.
cancel : cancel request to calender.
cat : concatenate files (displays a file without scrolling ability. Simply dumps
it to the standard output. Can be useful when chaining multiple
applications to do complicated jobs, so one application can use another's
output as input).

cd : change the current working directory.
chgrp : change group ownership of a file.
chmod : change access patterns (permissions) to files.
chown : change user ownership of files.
clear : clear the screen.
cmp : compare two files.
cp : copy files.
cpio : archive and extract files.
cron : clock deamon (executes "batch" and "at" commands).
crontab : schedules commands at regular intervals.
crypt : encrypt , decrypt files using altered DES, standard to Unix passwords
(restricted distribution).
csh : invoke the C shell.
csplit : split file into several other files.
cu : call up another unix terminal.
cut : cut selected fields from each line of file.

D
date : displays the time and date (can also change it if you're root).
dd : convert and copy a file.
df : reports space (free, total etc') on all mounted file systems.
diff : copare two files.
diff3 : compare 3 or more files.
dircmp : compare two directories.
du : report disk usage.

E
echo : echo argument to standart output.
ed : line oriented editor.
egrep : extended version of grep (searches for extended regular expressions).
expr : evaluate boolean and arithmetic expression.

F
fgrep : same as grep, only it interprets patterns as a list of fixed strings.
false : return nonzero (false) exit status.
file : report type of file.
find : find matching files and run specified programs on them (optional).
finger : report user information (operates remotely only if a finger server is running
on the remote host).
ftp : (file transfer protocol) a client for FTP servers.

G
grep : search files for regular expression matches.

H
haltsys : gracefully shutdown sytem (can only be run by root. halt in Linux).
head : display first 10 lines of a file.

J
join : display the combination (lines with command field) of two fields.

K
kill : send a signal to terminate a process.
ksh : invoke the korn shell.

L
line : read a specific line out of a file (shell script usage).
ln : create a link to a file/directory.
logname : gets your login name.
lpr : sends a request to printer.
lprint : prints on local printer.
lpstat : reports printer status.
lpq : same as above.
ls : lists the contents of directory.

M
mail : send and recieve mail.
man : displays manual pages.
mesg : grant or deny permissions to recieve messages from other users using the
write command.
mkdir : create a new directory .
mknod : build a special file.
more : display file one page at a time.
mount : mount a storage device.
mv : move or rename a file.

N
news : display news item from NNTP servers.
nice : change priorities of processes.
nohup : run a command after logout (ignores hangup signals).
nroff : format files for printing.
nslookup : retrieve information from DNS servers.

O
od : displays a file in 8-based octals.

P
passwd : create or change login password.
paste : merge lines of files.
pr : format and print file.
ps : reports status of active processes.
pstat : report system status.
pwcheck : check /etc/passwd (default) file.
pwd : display current working directory.

R
rm : remove (erase) files or directories (unrecoverable).
rmdir : remove an empty directory.
rsh : invoke Restricted Bourne Shell.

S
sed : the stream editor.
set : assign value to variable.
setenv : assign value to enviroment variable.
sh : invoke Bourne shell.
sleep : suspend execution of a command for a given period.
sort : sort and merge files.
spell : find spelling errors.
split : split file to smaller files.
stty : set options for a terminal.
su : spawns a subshell with a different username, requires other user's
password,unless you're root.
sum : compute checksums and number of blocks for files.

T
tabs : set tabs on a terminal.
tail : display last 10 lines of file.
tar : a simple compression tool that merges multiple files into a single one,
originally made to make backing up materials on backup tapes easier.
tee : create a tee in a pipe.
telnet : access remote systems using the telnet protocol.
test : test various expressions and files.
time : display elapsed time (execution, process, and system times) for a
command.
touch : change time/date stamps of files.
tr : substitutes sets of charecters.
translate : translates files to different format.
troff : format files to phototypester.
true : return zero (true) exit status.
tset : set terminal mode.
tty : report a name of a terminal.

U
umask : set file-creation mode (permissions) mask.
umount : unmount a device.
uname : display the name of the current system.
uniq : report any duplicate line in a file.
units : convert numbers from one unit to another.
unzip : extract files from zip archieve.
uptime : report system activety.
uucp : copy files between two unix systems (oldie but still beautiful).
uulog : report uucp status.
uuname : list uucp sites known to this site.
uudecode : decode to binary after "uuencode" transmission.
uencode : encode binary file for email transmission.
uustat : report status of uucp or cancel a job.
uupick : receive public files sent bu uuto.
uuto : send files to another public Unix system.
uux : execute command to remote Unix system.

V
vi : a screen oriented (visual) editor (cool ,but Vim is better).

W
wall : sends message to all users (root only).
wait : await completion of background process.
wc : count lines, words, bytes etc' in one or more files.
who : report active users.
whois : search for user information.
write : send a message for another user (see mesg).
whoami : which user you are logged in as at the moment. If you, for example,
switch to a different user, logname will show the original username you
logged in as, and whoami will show the current user.


Z
zip : archieve file or files in zip format.
Forum Sponsor
  #2 (permalink)  
Old 08-01-2002
Registered User
 

Join Date: Jul 2002
Location: California
Posts: 13
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Very impressive. I like.

Now lets see a list of examples for each command.

Just kidding.
Cool list though.

Tarballed
  #3 (permalink)  
Old 08-02-2002
Registered User
 

Join Date: Jul 2002
Location: Chicago
Posts: 1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Thumbs up Very Useful

I am a very new UNIX user and I really found this very Useful.I was lost before I came here!!. Thanks for people like YOU!!
KEEP UP THE GOOD WORK!!!!!!!!!!
__________________
Roderick Jackson
Today is a Good Day so Smile :)
  #4 (permalink)  
Old 08-02-2002
Registered User
 

Join Date: Jul 2002
Posts: 4
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
What UNIX distribution is this for?

I might be being picky, but the 'whois' command on all the systems I've seen has been for DNS records.
  #5 (permalink)  
Old 08-05-2002
Registered User
 

Join Date: Aug 2002
Location: Uganda
Posts: 1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Thumbs up Cool stuff

thanks pal, am a quite new unix user
found it pretty useful
cheers
__________________
Chris Aine
#8680
Kla-Uganda
256-77-430235
  #6 (permalink)  
Old 08-11-2002
Registered User
 

Join Date: Aug 2002
Location: India
Posts: 1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Thumbs up Unix Basic Command

great man....
thanks for the attitude and keep it up
shabeer
__________________
Shabeer
  #7 (permalink)  
Old 08-11-2002
Registered User
 

Join Date: May 2002
Posts: 27
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Good Work!!

It would be a good idea if Site administrators start a new thread for consolidated Basic Commands!!
Google UNIX.COM
 

Tags
linux

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
"inappropriate ioctl for device" 421 service not available, remote server has closed connection ^m autosys awk trim bash eval bash exec bash for loop boot: cannot open kernel/sparcv9/unix close_wait command copy/move folder in unix curses.h cut command in unix dead.letter find grep find null character in a unix file grep multiple lines grep or grep recursive grep unique inaddr_any inappropriate ioctl for device logrotate.conf lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp batch sftp script snoop unix stale nfs file handle syn_sent tar exclude unix unix .profile unix com unix forum unix forums unix interview questions unix mtime unix simulator unix.com vi tab size vi+substitute+end+of+line+character while loop within while loop shell script


All times are GMT -7. The time now is 12:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101