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
2. Shell Programming and Scripting
Never mind!. Thanks (1 Reply)
Discussion started by: smarones
3. UNIX for Dummies Questions & Answers
I've to edit the below file in the
Rows found with null for one or more non-nullable columns in the source table
1 as one
datum.ID IS NULL
a (1 Reply)
Discussion started by: udayakumar
4. 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
5. Shell Programming and Scripting
I have a text file that has data like:
I need to figure out a way of adding 1,000,000 to the specific lines (always same format) in the file, so it becomes:
ID... (16 Replies)
Discussion started by: say170
6. Shell Programming and Scripting
I am having a file which is fix length and comma seperated. And I want to replace values for one column.
I am reading file line by line in variable $LINE and then replacing the string.
Problem is after changing value and writing new file temp5.txt, formating of original file is getting... (8 Replies)
Discussion started by: Mruda
7. Shell Programming and Scripting
how to remove duplicate word in a file ? (2 Replies)
Discussion started by: mail2sant
8. 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
9. 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
10. UNIX for Advanced & Expert Users
hi! I am a newbee. I would really appreciate if you can answer the following question:
I have a huge data file, 214MB with several coloumns. I need to delete the very last line of the file. Everything I know takes a lot of time to do it ( because I have to open the file in an editor or run a... (3 Replies)
Discussion started by: Garuda
pwck, grpck - password/group file checkers
scans fields in the password and shadow files and reports any inconsistencies to standard error. The checks include validation of the num-
ber of fields, login name, user ID, group ID, and whether the login directory and optional program exist. In addition, if the root entry
shows a program, it can only be one of: or The default password file is The default shadow file is For additional verification, use to
check consistency between entries in the password and shadow files.
verifies all entries in the group file and reports any inconsistencies to standard error. This verification includes a check of the number
of fields, group name, group ID, and whether all login names appear in the password file. The default group file is
recognizes the following options:
Check inconsistencies with the Protected Password database.
Check encrypted password lengths that are greater than 8 characters.
Group entries in with no login names are flagged.
Successful password file validation is not sufficient for proper system operation. To help maintain consistency with other system data-
bases, editing of the password file with is discouraged. HP recommends that you use or to edit
HP-UX 11i Version 3 is the last release to support trusted systems functionality.
and check only the local password, shadow and group files. The Network Information Service database is not checked.
was developed by AT&T and HP.
authck(1M), pwconv(1M), vipw(1M), group(4), passwd(4), shadow(4).