10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have hundreds of lines similar to this:
Oct 30 10:06:40 localhost kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
Oct 30 10:06:40 localhost kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
i want to add a comma after the date, and then print the remaining text to the end of the... (1 Reply)
Discussion started by: SkySmart
1 Replies
2. Shell Programming and Scripting
is there a way to efficiently monitor logfiles that do not have a date or time format? i have several logs on several different servers that need to be monitored. but i realized writing a script for this would be very complex and time consuming giving the variety of things i need to check for i.e.... (2 Replies)
Discussion started by: SkySmart
2 Replies
3. Shell Programming and Scripting
Hello,
I am on solaris
here is what I have
*****LIST OF ATTRIBUTS FROM FILES*****
FILE='/N1B/2002/05/ACL1B_2002_05_01_B_00.TAR ... (5 Replies)
Discussion started by: Aswex
5 Replies
4. Shell Programming and Scripting
Hello,
I just need help to format log file that contain huge amont of lines:
Here is what I am getting :
STAS022 RC = 0 I Suppression de /OPERATIONNEL/SATURNE/PGN/HD/SATURNE_1DAV_20100415_20110415_ISI_R20110430.NC effectuee
STAS034 RC = 0 I Deroulement correct
STAF067 RC = 9 E... (7 Replies)
Discussion started by: Aswex
7 Replies
5. Shell Programming and Scripting
Hello,
I need help to format a log file...again ; ))
Here is what I have :
FILE='/OPERATIONNEL/SATURNE/MASTER/SATURNE_MASTER_PRE_R20110119.TAR.GZ ... (5 Replies)
Discussion started by: Aswex
5 Replies
6. Shell Programming and Scripting
Hello,
I need help to format log file. I am looking for the most short way to to it
here is what I have :
/data_val/SATURNE/MASTER/PRE/SATURNE_1dAV_20110301_20110302_T3D_T_FCST_R20110216.nc 3581376
here is what I need :
SATURNE_1dAV_20110301_20110302_T3D_T_FCST_R20110216.nc 3581376... (8 Replies)
Discussion started by: Aswex
8 Replies
7. Shell Programming and Scripting
Dear all,
I need help to format a log file :
Here is the output (Go to the end of the Wrap Code to see caracter at the end of line):
FILE='/OPERATIONNEL/SATURNE/PHYS_MOD/NOWMOD/SATURNE_1DAV_20110201_20110202_ICEMOD_R20110202.NC ... (5 Replies)
Discussion started by: Aswex
5 Replies
8. UNIX for Dummies Questions & Answers
DO log files have 1 universal format.
And if any body know how to depict the $1 to $10 arguments of this file. (4 Replies)
Discussion started by: nixhead
4 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I need help to format log file that look like this :
FILE='/BD_TOTO/MMX_RNX/MMX_RNX_2009_282_0001.TGZ
';;
SIZE(Ko)='32528 '
ARC_DATE='2009-10-13'
;;... (6 Replies)
Discussion started by: Aswex
6 Replies
10. Shell Programming and Scripting
I have a comma delimited log file which has the date as MM/DD/YY in the 2nd column, and HH:MM:SS in the 3rd column.
I need to change the date format to YYYY-MM-DD and merge it with the the time HH:MM:SS. How will I got about this?
Sample input
02/27/09,23:52:31
02/27/09,23:52:52... (3 Replies)
Discussion started by: hazno
3 Replies
rhosts(5) File Formats Manual rhosts(5)
Name
rhosts - list of hosts that are logically equivalent to the local host
Syntax
/$HOME/.rhosts
Description
The file allows a user who has an account on the local host to log in from a remote host without supplying a password. It also allows
remote copies to the local host.
If the file exists, it is located in a user's home directory. It is not a mandatory file, however.
The format of a file entry is:
hostname [username]
The hostname is the name of the remote host from which the user wants to log into the local host. The username is the user's login name on
the remote host. If you do not specify a user name, the user must have the same login name on both the remote and local hosts.
The host names listed in the file may optionally contain the local BIND domain name. For more information on BIND, see the Guide to the
BIND/Hesiod Service.
If a user is logged in to and wants to log in to a host called without supplying a password, she must:
o Have an account on
o Create a file in her home directory on
o Specify host1 ginger as an entry in the file.
If has the same login on both and she can simply specify host1 in her entry. You can allow the superuser of a remote system to log in
to your system without password protection or perform a remote copy by having a file in the root ( / ) directory, but it is not recom-
mended.
In addition to having a file, the superuser needs a terminal entry in the file for each pseudoterminal configured in the system. The
secure entry looks similar to the following:
ttyp3 none network secure
See the reference page for more information.
Examples
The following is a sample file for the user It is located in her home directory on She also has accounts on the hosts called and Her login
name on and is the same as on but her login on is
To enable to log in to from and without supplying a password, her on should contain the following entries:
machine1
system1 gordon
host3
See Also
hosts.equiv(5), ttys(5)
Introduction to Networking and Distributed System Services
rhosts(5)