Search Results

Search: Posts Made By: liketheshell
1,472
Posted By liketheshell
Count the number of string occurrences to display 0 entries in output
Hello Friends,

Can somebody assist an issue I am having? I have a separate file with a list of account ids

XXX200B02Y01
XXX200B03Y01
XXX200B05Y01
XXX200B07Y01
XXX200B08Y01

I call the...
1,295
Posted By liketheshell
RudiC - The log file structure is below 00 ...
RudiC - The log file structure is below

00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16, etc. These logs are based on GMT timestamp. In each log are many orders and entries.
1,295
Posted By liketheshell
Shell script with cronjob
Hello All,

I have a script which will cd into a directory based on current timestamp.
It will then do a grep and search for a condition. It's run on a cron job that runs every 30 minutes. So if...
978
Posted By liketheshell
Friends, Thanks for the reply. Worked like...
Friends,

Thanks for the reply. Worked like a charm. Many Many Thanks...
978
Posted By liketheshell
Merging data from col 3 to col2 with awk or sed
Dear Friends,

I have a file in which lists State and Phone numbers. Does anybody have a solution in which to take the data from col3 and place it on col2?
AK 2988421640 9077467107
AK ...
20,633
Posted By liketheshell
Shell script to chown for specific user
Hello All,

Can anybody provide any information on a shell script to change ownership for a specific user 'nuucp'. I know i can use chown -R to change the owner but i have lots of files and...
1,542
Posted By liketheshell
Sed/Awk Help needed
Hello All,

Does anybody know how to extract the entries from the 1st and second column that match a multiple regex expression using either sed or awk?

I have a 40 k file with the data that...
2,279
Posted By liketheshell
use the commands everyday.
use the commands everyday.
1,940
Posted By liketheshell
pkginfo is not the issue here. I just need to...
pkginfo is not the issue here. I just need to know how to connect to the remote http server through a url and run pkginfo on that.
Forum: AIX 06-27-2008
2,898
Posted By liketheshell
Fraydey, I would first check this website...
Fraydey,

I would first check this website for AIX. They will have all the resources you will need on AIX.

IBM Redbooks (http://www.redbooks.ibm.com/)

Cheers
1,940
Posted By liketheshell
Shell Script to query packages from a http server.
Hello Unix Gurus,

Does anybody have an idea on how to verify packages exist on a remote or ftp server connected through http. Here is my task at hand. We have a central repository in which we...
2,839
Posted By liketheshell
Package Installation HELP!
To all,

I have just installed a newer software package on one of our Performance testing AIX machine A. I later found out that this package didn't need to be installed on this machine cause it...
32,827
Posted By liketheshell
Telnet script to test open ports on mult servers
Hello All,

Can somebody help me with this script. I have an output file with a list of servers ips and ports. I need to be able to run this script to list all the server ips in the outfile and...
16,215
Posted By liketheshell
Try this $mv error.log error.log.`date...
Try this

$mv error.log error.log.`date '+%Y%m%d_%H%M'`
error.log.20070920_1607
29,660
Posted By liketheshell
NySif, Not sure if that is valid shell...
NySif,

Not sure if that is valid shell syntax "if[ "$#" < 2 ]"

Maybe you can try if[ "$#" -lt 2 ]
29,660
Posted By liketheshell
You can try doing if [ "$#" - ne 2 ] then ...
You can try doing
if [ "$#" - ne 2 ] then

do something else.

fi

So if the first argument is passed to the script then there is no problem. If the second argument is not supplied then do...
29,660
Posted By liketheshell
Use $# to check for the number of arguments...
Use $# to check for the number of arguments passed. [ -z "$#" ] to check for null arguments.
30,083
Posted By liketheshell
Setting basename and dirname variable to simply script.
Hello all,

Can somebody explain to me how set up a basename and dirname variable to simplify this script. I currently have a 'infile' with the contents of FTTPDataPVC_ & BaaisDSLFeed. I need to...
1,628
Posted By liketheshell
try ps -ef
try ps -ef
1,236
Posted By liketheshell
Please help with script
Hello,

I have the following script which will look for log files with the current time stamp. Can somebody tell me how to add a condition in the echo statement so that both timestamps will be...
8,521
Posted By liketheshell
Klashxx, Thank you for your timely reply. ...
Klashxx,

Thank you for your timely reply. The infile has lets say 2 records in that file.

/apps/opt/FTTP_`date '+%m%d%y'`.txt
/apps/opt/DSLFeed.`date '+%m%d%y'`.txt

when i'm specifing [ -f...
8,521
Posted By liketheshell
Script help for INFILE...
Hello all,

I'm having trouble trying to get the output of a variable passed from an INFILE. Here is what i have so far.

/tmp/INFILE --- inside INFILE will be 2 or more filenames like so
...
2,764
Posted By liketheshell
I just incorporated this portion if [[ -z...
I just incorporated this portion

if [[ -z $NAME ]]; then
continue
fi
and that did the trick.

Many thanks,

Al:)
2,764
Posted By liketheshell
Removing Null data in output
Hello all,

I have a script that has an infile with system package information. For the most part the script is looking well. The only thing i need help is in testing for null entries and...
4,027
Posted By liketheshell
TY for the response. They both worked and put in...
TY for the response. They both worked and put in the hostname. But what i wanted to acheive was really this. I wanted the script to output the hostname for every package output listed in the grep....
Showing results 1 to 25 of 26

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