Search Results

Search: Posts Made By: Nagesh_1985
1,409
Posted By Nagesh_1985
Thanks RudiC
The command worked !!
1,409
Posted By Nagesh_1985
Display all lines after a matching variable
Hi,

I have a file called abc.txt with the following dates
2016-01-27
2016-01-28
2016-01-29
2016-01-30
2016-01-31
2016-02-01
2016-02-02
2016-02-03
I would like to print all lines below if...
8,534
Posted By Nagesh_1985
The command does not work. The problem is I...
The command does not work. The problem is I cannot find where the issue is, whether its with the 'mail' command or 'uuencode' command or if the server is not able to send the mail to my email ID..
...
8,534
Posted By Nagesh_1985
Send mail from AIX 7.1
Hi,
My OS version is AIX 7.1. I am trying to send an email with a file to my mail address. sendmail or uuencode does not work. Can someone give me the correct format ?
I use:
uuencode <file...
1,312
Posted By Nagesh_1985
Run scripts on remote server
I have a sql script in my parent server - host1
i can do a passwordless ssh to remote server - host1a and host1b

Can i run the sql script which is present in host1 by connecting to host1a and...
982
Posted By Nagesh_1985
The query gives me the following output... ...
The query gives me the following output...

sed 's/^.*LogonTime:*//' sample.log

User:SYS,O/SUser:oracle,Process:10813484,Machine:host123.xxx.xxx.xxxxxxx.com.au
24-JUL-2014
15:04
982
Posted By Nagesh_1985
Print all lines after a string
My file has the following contents...

User:SYS,O/SUser:oracle,Process:10813484,Machine:host123.xxx.xxx.xxxxxxx.com.au,Program:sqlplus@host123.xxx.xxx.xxxxxxx.com.au(TNSV1-V,LogonTime:24-JUL-2014 ...
1,057
Posted By Nagesh_1985
This script gives me the following output... ...
This script gives me the following output...
3408086,Machine:hostname ,Program:sqlplus@hostname (TNS V1-V,Logon Time:25-JUL-20
14 13:36
1,057
Posted By Nagesh_1985
Cutting string values from a file
My file looks like this....

User:SYSTEM,O/S User:oracle,Process:3408086,Machine:hostname ,Program:sqlplus@hostname (TNS V1-V,Logon Time:25-JUL-20
14 13:36

I want to get the date and time which...
1,413
Posted By Nagesh_1985
Thanks...it works !!
Thanks...it works !!
1,413
Posted By Nagesh_1985
Subtract date in a loop
I have a file with name and date---
$ cat file.log
userA 01-06-2014
userB 25-05-2014
userC 16-05-2014
userC 01-03-2014

I want to search for the current date and get the name...
1,257
Posted By Nagesh_1985
Thanks !! It worked.
Thanks !! It worked.
1,257
Posted By Nagesh_1985
I would like to have a shell command for this...
I would like to have a shell command for this please...

Thanks
1,257
Posted By Nagesh_1985
Insert comments in a loop
I got an output file where I have insert some comments inbetween
e.g.

My file looks like this---

userA 10.120.xxx.xxx Jan 21 01:00 03:00 userA1
userB 10.120.xxx.xxx Jul 03 ...
711
Posted By Nagesh_1985
Thanks a lot ! It works...
Thanks a lot ! It works...
711
Posted By Nagesh_1985
Checking for pattern and merging files
I am trying to perform the following action.
1. A script runs the 'last' command for some users and prints the output to a file.
$ cat last_users.log
oracle pts/17 10.120.xxx.xxx ...
1,648
Posted By Nagesh_1985
The IP address list I have is going to be a...
The IP address list I have is going to be a static one. It will not change. That will be used like kind of a master file.
1,648
Posted By Nagesh_1985
Pull out information from output logs
My scenario is as follows.

1. I have a reference file with the IP addresses and names
$ cat ref.list
10.11.xxx.xxx AA
10.12.xxx.xxx BB
10.13.xxx.xxx CC
10.14.xxx.xxx DD

2. A...
Forum: AIX 07-02-2014
2,718
Posted By Nagesh_1985
Thanks...1 final question. Does the 'last'...
Thanks...1 final question.
Does the 'last' command work for RHEL, HP-UX and Solaris servers ?
If not, is there an alternate command for these servers ?

Thanks
Forum: AIX 07-02-2014
2,718
Posted By Nagesh_1985
Thanks for the reply.. the 'last' command works...
Thanks for the reply..
the 'last' command works fine.

This is what i am trying to do.
Say, for example, an user logs into the AIX server from his local desktop via a putty session.
The user...
Forum: AIX 07-02-2014
2,718
Posted By Nagesh_1985
User auditing from AIX server
I am trying to find out the information of my local desktop when i use putty to login to an AIX server.
This is what I do:
1. login to my PC
2. take a putty session to an AIX server
Can i get...
Showing results 1 to 21 of 21

 
All times are GMT -4. The time now is 08:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy