02-23-2008
You can use vi commands to edit the line, Google on "vi commands".
Cheers
6 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. UNIX for Dummies Questions & Answers
I'm using a csh shell (or, that'd be my guess from the .cshrc file I see) and I'm looking to change my prompt.
There are about 10 other threads, I know, but this question is a little more specific. I want to know, is there a way to list the current directory from a certain level or directory... (6 Replies)
Discussion started by: HybridLogic
6 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 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
6. 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 FREEBSD
intro
INTRO(1) BSD General Commands Manual INTRO(1)
NAME
intro -- introduction to general commands (tools and utilities)
DESCRIPTION
Section one of the manual contains most of the commands which comprise the BSD user environment. Some of the commands included in section
one are text editors, command shell interpreters, searching and sorting tools, file manipulation commands, system status commands, remote
file copy commands, mail commands, compilers and compiler tools, formatted output tools, and line printer commands.
All commands set a status value upon exit which may be tested to see if the command completed normally. Traditionally, the value 0 signifies
successful completion of the command, while a value >0 indicates an error. Some commands attempt to describe the nature of the failure by
using exit codes as defined in sysexits(3), while others simply set the status to an arbitrary value >0 (typically 1).
SEE ALSO
apropos(1), man(1), intro(2), intro(3), sysexits(3), intro(4), intro(5), intro(6), intro(7), security(7), intro(8), intro(9)
Tutorials in the UNIX User's Manual Supplementary Documents.
HISTORY
The intro manual page appeared in Version 6 AT&T UNIX.
BSD
October 21, 2001 BSD