Search Results

Search: Posts Made By: x96riley3
998
Posted By x96riley3
Need columns changed to rows
I have some data in a file that looks like the following:


[/AMDLib]
reqs : 447342
max : 3.455
avg : 0.020
[/PClaimsWSv3]
reqs : 68936
max : 24.078
avg :...
Forum: AIX 01-10-2013
4,942
Posted By x96riley3
UNIX authentication strategy - LDAP or AD
We are looking at using Tivoli Directory Server (LDAP) or Active Directory 2003 for authentication. I wanted to get some feedback from the community. Our goal is to do it the simplest, easiest, and...
Forum: Web Development 05-20-2009
3,068
Posted By x96riley3
apache SSO
I'm trying to figure out how to get apache SSO working. I have a web reverse proxy that sends usernames in http headers. I'm not sure if apache is able to accept this username in an http header and...
2,447
Posted By x96riley3
Help using perl commandline for XML matching
I have a file that contains this.

<NAME>/bob</NAME>

I'm trying to print just the /bob part to my screen. I have a command line example I really think should work. Keep in mind that the...
3,654
Posted By x96riley3
You need a space between file_name and ]. ...
You need a space between file_name and ].

Instead of $file_name]
you need $file_name ]

-x96
57,588
Posted By x96riley3
Thanks for the info. /shared is and nfs file...
Thanks for the info.

/shared is and nfs file system

[root@servername]/var/tmp>df -n | grep shared
/shared/candle : nfs
/shared/ssg : nfs
/shared/spd : nfs
/shared/dsm ...
57,588
Posted By x96riley3
Excluding directories with find
How do I exclude directories with the find command on Solaris?


I want to skip the directories /proc and /shared.

find / -nouser -print

This shows me all files and directories that don't...
14,908
Posted By x96riley3
Unix filenames and spaces
I have files on my unix boxes that users have created with spaces.

Example: /tmp/project plan

ls -l "/tmp/project plan" works fine.

$/tmp>ls -l "/tmp/project plan"
-rw-r--r-- 1 root ...
6,139
Posted By x96riley3
Ok. I'm retarded. I made it so hard by...
Ok. I'm retarded.

I made it so hard by doing this

perl -pi -w -e 's/\/[^\/]*$//;' inputfile.txt

Thanks sb008

-96
18,004
Posted By x96riley3
try prtconf. Description If you...
try prtconf.

Description

If you run the prtconf command without any flags, it displays the system model, machine serial, processor type, number of processors, processor clock speed, cpu...
11,283
Posted By x96riley3
Looks like you already have it. DATE=$(date...
Looks like you already have it.

DATE=$(date +%Y%m%d)
TIME=$(date +%T)

cp filea.dat filea_$DATE.dat

or

cp filea.dat filea_$DATE_$TIME.dat


Hope this helps.

-x96
6,139
Posted By x96riley3
Need to strip a string
I have a file that looks like this:

/home/fred/opt/bin
/opt/usr/bin
/usr/sbin/var/opt


I need a way to chop of everything after the last occurance of the / sign including the /. So the file...
4,209
Posted By x96riley3
What are people using for Centralized Unix Administration
What are people using for Centralized Unix Administration? I'm not just talking user administration, I'm also talking system administration. I prefer a customized SSH enivonment that allows me to...
4,382
Posted By x96riley3
I'm not sure this is exactly what you wanted. ...
I'm not sure this is exactly what you wanted.

cat file | awk -F: '{print $1, $2, "\"", $3}'


sybqad0l 1706 " 546
sybbev0x 6218 " 542
wpati0k 8145 " 253
wembi02 4621 " 267
pimdp01 223 "...
96,136
Posted By x96riley3
I think asking such open ended questions don't...
I think asking such open ended questions don't make much sense. It would be like me coming in here and asking how unix works. There are tons of books and webpage resources. People need to look at...
33,868
Posted By x96riley3
Since the source file and destination file are...
Since the source file and destination file are the same, consider doing something like this.

Input file called inputfile.txt contains just the word 'This'

commandline
perl -pi -w -e 's/This/I...
30,197
Posted By x96riley3
I highly doubt anyone knows this answer off the...
I highly doubt anyone knows this answer off the top of their head. Why don't you open top or topas in another window and monitor the gunzip command to see for yourself? The following is output from...
2,411
Posted By x96riley3
Get ubuntu instead. You could write your own RPM...
Get ubuntu instead. You could write your own RPM GUI.

-X
7,538
Posted By x96riley3
Your trying to go from server C with one command...
Your trying to go from server C with one command thru server A and get a file from B all at the same time. Why don't you just log in A with SSH. The do an scp from A to B and see if that works.
...
1,868
Posted By x96riley3
Set your script up to write to a tmp file a...
Set your script up to write to a tmp file a success or failure. Then take your new script and grep the file for failure. If failure exists then your cron script exits and notifies you. If no...
19,216
Posted By x96riley3
See this thread... ...
See this thread...

https://www.unix.com/showthread.php?t=27362&highlight=ssh
4,825
Posted By x96riley3
Yes, Load Ubuntu 6.06.
Yes, Load Ubuntu 6.06.
1,616
Posted By x96riley3
You need to use expect to script the password...
You need to use expect to script the password change. You can do it with Shell and/or PERL if you have SSH setup correctly on the servers to give you root permissions to change passwords.


-X
1,891
Posted By x96riley3
Remember that the which command searches your...
Remember that the which command searches your PATH variable. Setting up an alias and typing which PERL will not do anything. Which is still going to search your PATH for the file or executable in...
7,712
Posted By x96riley3
Yes. I used to write perl scripts that would call...
Yes. I used to write perl scripts that would call Oracle SQL scripts. The perl script would be used to authenticate you to the database and then you would execute the SQL script from within your...
Showing results 1 to 25 of 81

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