Syntax for zip and unzip afile.
gzip <filename>
guzip <filename.>
display top 10 disk usage files.
du -sh *|sort -nr|head -10
To retrive a field in a file.
cut -f 1,2 stud.
command for search a string in a file.
grep
command for end of the line in Vi editor
G
Copy 10 line in vi editor
10yy
To insert mode in vi editor
Esc+i
To search a string in file(filename=sample,string=weblogic)
grep weblogic sample
copyfile from one unix Server to other unix system and syntax
scp -rp sample.txt username@192.167.11.128:/home/bea
To find out CPU utilisation
Top
To execute a script using nohup
nohup ./startWeblogic.sh &
command used to search and replace a string
sed
Command used to search astring in multiple files
fgrep
save and quit from vi Editor's?
WQ!
ping :
1)It is check the connectivity.
2)It is display all at a time.
1.It is packet information one place to another place destination.
2.It display only 30 hubs in tracert.
No comments:
Post a Comment