10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm using Putty and want to edit a file. I know we generally use vi editor to do it. As I'm not good in using vi editor, I want to convert the vi into something like text pad. Is there any option in Putty to do the same ? Thanks for your response.
Srini (6 Replies)
Discussion started by: thummi9090
I am writing a mount/umount procedure for CD rom and getting into the problem that /etc/mtab is not in sync with /proc/mounts.
Then I am ending up with a bunch of dangling /etc/mtab entries that are not valid anymore.
Reading through mount(8) I see a -n switch (--no-mtab) which would... (2 Replies)
Discussion started by: mirni
3. Shell Programming and Scripting
I have a file which has 10 million records in it. When am trying to edit the file with vi, the following error occurs:
"file1" Value too large for defined data type
Is there any way that I can edit this file without using vi? Any help would be really appreciated.... (8 Replies)
Discussion started by: bobby1015
4. Shell Programming and Scripting
i have a problem.
i want to add lines over those lines in a file if it starts and ends with how and "?" respectively.
i want output like
thanks (4 Replies)
Discussion started by: yashwantkumar
5. Shell Programming and Scripting
i have data in 3 columns in the format below
I however want to either remove the date on the timestamp and... (2 Replies)
Discussion started by: thinktank
6. Shell Programming and Scripting
i am writing a script to edit entries in a file. what command will edit a specific file?
ex: echo) "what number would you like to change
this is where I am stuck. what command will edit my specific file? (3 Replies)
Discussion started by: gustave
7. Shell Programming and Scripting
I have a file with following contents
I could like to remove the # and space present before the key word "rad".
Any ways to do this using "subsitution method(:%s/old/new/g)" will be hepful. (1 Reply)
Discussion started by: ramkriz
8. Shell Programming and Scripting
I am in a situation wherein am getting file file certailn values
1u56979hhghhklklkkkjkjkjk 0 0 0
The file will have values like above only.
I need to add another field of NULL value(of length 9) at the end of first column i.e.
It should like this after editing:... (4 Replies)
Discussion started by: rahul303
9. Shell Programming and Scripting
I have a file of 100000 records. This file is created by concatenation of two files. I want to edit this file from record number 80,000 till the end and add "|N" for each record . How can I acheive this. Please suggest (4 Replies)
Discussion started by: dsravan
10. UNIX for Dummies Questions & Answers
hi i would like to know whether i can delete a part of a file in C
for eg. if my file contained
and i want to delete
so that it becomes
is there a way i can do this.
well, one way i can achieve this is by creating a new file, copy whatever i want, then... (2 Replies)
Discussion started by: sameersbn