7 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Vim Tips and Tricks
Save and quit
:w => Save
:q => Exit as long as there have been no changes
:q! => Exit and ignore any changes
:wq => Save and Exit.
:x => Exit, saving changes
ZZ => Exit and save changes if any have been made
:10,20w filename => writes the... (34 Replies)
Discussion started by: ungalnanban
34 Replies
2. UNIX for Advanced & Expert Users
I found a decent guide of VI basic tricks. This guide does expect you to have a decent understanding of VI. It does not go over very much beginner related.
vi Manual (3 Replies)
Discussion started by: cokedude
3 Replies
3. Shell Programming and Scripting
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
4. UNIX for Dummies Questions & Answers
I have a file which containd a string "old" and I need to replace all old with "new" if and only if it is a string not part of a string like Gold or fold etc.
I tried with sed like below
echo "old gold old" | sed 's/old/new/g'
It doesn't give the desired output, It give "old Gnew new".... (3 Replies)
Discussion started by: siba.s.nayak
3 Replies
5. Post Here to Contact Site Administrators and Moderators
What do you think could we open new top topic with tips and tricks and to show to other users some tricks what do we know like dtrace , new virtual server , how to add new users etc.
This is only suggestion (1 Reply)
Discussion started by: solaris_user
1 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies
7. Shell Programming and Scripting
1) I ran myScript with 2 arguments, I meant to use 3
if I do r my, it will rerun it with the 2 arguments. is there a way I can do r my and add a third argument at the end?
2) say I did
myAcript.ksh 2 5 7 8
I realise my typo. is there an easy way to redo the command replacing A with S?
... (4 Replies)
Discussion started by: JamesByars
4 Replies