08-05-2011
Basic VI tricks
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
5 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello there,
Is there anyway to make the tar utility print the contents of the files inside it (not list the files, but rather their contents) sequentially from the command line?
What I ultimately would like to do is to have a way of printing the contents of each file in the tar archive... (2 Replies)
Discussion started by: neked
2 Replies
2. 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
3. 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
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. 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
LEARN ABOUT SUNOS
update-rcconf-guide
UPDATE-RCCONF-GUIDE(8) Debian GNU/Linux UPDATE-RCCONF-GUIDE(8)
NAME
update-rcconf-guide - Create default guide file for rcconf
SYNOPSIS
update-rcconf-guide
DESCRIPTION
Update-rcconf-guide creates the default guide file which rcconf uses.
Update-rcconf-guide searches the package names corresponding to each service file in /etc/init.d directory from dpkg info
files(/var/lib/dpkg/info/*.list) and get the description of these packages using apt-cache. Update-rcconf-guide uses Short-Description in
priority to the description if service files has Short-Description field. Update-rcconf-guide writes those results to
/var/lib/rcconf/guide.default file.
You can write your own guide in user guide file(/var/lib/rcconf/guide) by hand. Rcconf refers Guides in /var/lib/rcconf/guide before those
in /var/lib/rcconf/guide.default.
If you install some packages after executed update-rcconf-guide, you need to re-create this file using update-rcconf-guide so as to refresh
guide.default that includes new guides for installed new services.
Notice: update-rcconf-guide was not executed when you installed rcconf
package.
FILE
/var/lib/rcconf/guide.default
Guide File update-rcconf-guide generates.
/var/lib/rcconf/guide
Guide File user(Administrator) can define.
SEE ALSO
rcconf(8)
AUTHOR
Atsushi KAMOSHIDA <kamop@debian.org>
perl v5.10.1 2009-01-21 UPDATE-RCCONF-GUIDE(8)