10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Guru's
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
6 Replies
2. Shell Programming and Scripting
i have data in 3 columns in the format below
2011-11-01-0936,2115,978
2011-11-01-0937,2242,1046
2011-11-01-0938,2538,1186
2011-11-01-0939,2295,1074
2011-11-01-0940,2454,1142
2011-11-01-0941,2545,1184
2011-11-01-0942,2491,1153
I however want to either remove the date on the timestamp and... (2 Replies)
Discussion started by: thinktank
2 Replies
3. Shell Programming and Scripting
Hi,
I have a folder that contains many (multiple) files
1.fasta
2.fasta
3.fasta
4.fasta
5.fasta
.
.
100's of files
Each such file have data in the following format
for example:
vi 1.fasta
58 390
A
GTATACATTATTGATGAAGTCCACATGCTTTCTATGGGTGCCTTCAATGCGCTTTTAAAA (7 Replies)
Discussion started by: Lucky Ali
7 Replies
4. Shell Programming and Scripting
I have a script with 100's of lines in it. I want to edit the script with out manually openning it (with vi editor or some thing like that). Basically I want to do a substitution using regular expression (%s/G_/28_/i). Please let me know the best way to do this. (4 Replies)
Discussion started by: Lucky Ali
4 Replies
5. UNIX for Dummies Questions & Answers
Hello all, I need some help with sed. seems like i cant get through it. So here is what i am trying. when i do ps -ef|grep bla blah ...like below...i get /u01/app/oracle/11g/bin/tnslsnr .... but i want to replace that string with something using sed. So basically i want to get rid of... (3 Replies)
Discussion started by: abdul.irfan2
3 Replies
6. Shell Programming and Scripting
Hi,
I have a folder that contains many (multiple) files
1.fasta
2.fasta
3.fasta
4.fasta
5.fasta
.
.
100's of files
Each such file have data in the following format
for example:
vi 1.fasta
>AB_1 200bp
MLKKPIIIGVTGGSGGGKTSVSRAILDSFPNARIAMIQHDSYYKDQSHMSFEERVKTNYDHPLAFDTDFM... (4 Replies)
Discussion started by: Lucky Ali
4 Replies
7. UNIX for Dummies Questions & Answers
I use usermod -g dave devgroup, I can edit files under group devgroup, but when I check the /etc/group file, my name is not listed with devgroup.
Do I have to reload the /etc/group file or something for the changes to be apparent? (3 Replies)
Discussion started by: dhinge
3 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I get the following in one of my error logs:
Device /dev/sda, SATA disks accessed
via libata are not currently supported by smartmontools. When libata is
given an ATA
pass-thru ioctl() then an additional '-d libata' device type will be
added to smartmontools.
---------------
I... (0 Replies)
Discussion started by: mojoman
0 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am new to UNIX. I have a text file where each line ends on the hexadecimal character "0A". In the file there are some records that contain the Hex characters "0D0A" which I need to replace by Hex "20".
Is there a simple way to do this?
Regards,
Swanie (3 Replies)
Discussion started by: Swanie
3 Replies
10. Shell Programming and Scripting
Hi,
I am in a situation wherein am getting file file certailn values
suppose
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
4 Replies
BDB.DB0(5) AFS File Reference BDB.DB0(5)
NAME
bdb.DB0, bdb.DBSYS1 - Contain the Backup Database and associated log
DESCRIPTION
The bdb.DB0 file contains the Backup Database, which records configuration information used by the AFS Backup System along with cross-
indexed records of the tapes created and volumes dumped using the Backup System commands.
The bdb.DBSYS1 file is a log file in which the Backup Server (buserver process) logs each database operation before performing it. When an
operation is interrupted, the Backup Server replays the log to complete the operation.
Both files are in binary format and reside in the /var/lib/openafs/db directory on each database server machine that runs the Backup
Server. When the Backup Server starts or restarts on a given machine, it establishes a connection with its peers and verifies that its
copy of the bdb.DB0 file matches the copy on the other database server machines. If not, the Backup Servers use AFS's distributed database
technology, Ubik, to distribute to all of the machines the copy of the database with the highest version number.
Use the commands in the backup suite to administer the Backup Database. It is advisable to create a backup copy of the bdb.DB0 file on tape
on a regular basis, using the UNIX tar command or another local disk backup utility.
SEE ALSO
backup(8), backup_savedb(8), buserver(8)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BDB.DB0(5)