Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
1Activity

Table Of Contents

% ls
% ls -a
% mkdir unixstuff
% cd unixstuff
% cd
% pwd
% ls unixstuff
% ls backups
% ls unixstuff/backups
% ls ~/unixstuff
% ls ~
% ls ~/
% cd ~/unixstuff
% cp /vol/examples/tutorial/science.txt
% mv science.bak backups/
% cp science.txt tempfile.txt % ls % rm tempfile.txt % ls
% clear
% cat science.txt
% less science.txt
% head science.txt
% head -5 science.txt
% tail science.txt
/science
% grep science science.txt
% grep Science science.txt
% grep -i science science.txt
% grep -i 'spinning top' science.txt
% grep -ivc science science.txt
% wc -w science.txt
% wc -l science.txt
% cat
% cat > list1
% cat >> list1
% cat list1
% cat biglist
% sort
% sort < biglist
% sort < biglist > slist
% who
% who > names.txt % sort < names.txt
% who | sort
% who | wc -l
% ls list*
% ls *list
% ls ?list
% man wc
% whatis wc
% apropos keyword
% ls -l (l for long listing!)
% chmod go-rwx biglist
% chmod a+rw biglist
% ps
% sleep 10
% sleep 10 &
% bg
% jobs
% fg %1
% sleep 100 ^C
% kill %jobnumber
% sleep 100 & % jobs
% kill %4
% sleep 1000 & % ps
% kill 20077
% kill -9 20077
% ls -l science.txt
% gzip science.txt
% gunzip science.txt.gz
% zcat science.txt.gz
% zcat science.txt.gz | less
% file *
% diff file1 file2
% find . -name "*.txt" -print
% find . -size +1M -ls
% history (show command history list)
% !! (recall last command)
% !-3 (recall third most recent command)
% !5 (recall 5th command in list)
% !grep (recall last command starting with grep)
% set history=100
% mkdir download
% cd download % ls -l
% gunzip units-1.74.tar.gz
% tar -xvf units-1.74.tar
% cd units-1.74
% mkdir ~/units174
% ./configure --prefix=$HOME/units174
% make
% make check
% make install
% cd ~/units174
% ./units
You have: 6 feet You want: metres
% info --file=units.info
% cd ~/units174/bin % ls -l
% file units
% strip units % ls -l
% echo $OSTYPE
% set | less
% set history = 200
% nedit ~/.cshrc
% source .cshrc
% set path = ($path ~/units174/bin)
% cd % units
0 of .
Results for:
No results containing your search query
P. 1
35189453-Unix

35189453-Unix

Ratings: (0)|Views: 145 |Likes:

More info:

Published by: sreenivasulureddy.ch on Aug 29, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/29/2011

pdf

text

original

You're Reading a Free Preview
Pages 5 to 40 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->