Search Results

Search: Posts Made By: PikK45
1,886
Posted By PikK45
Andrew, Thanks for the inputs. I was talking...
Andrew, Thanks for the inputs. I was talking about shell scripts. I have to login manually as USERA, USERB, USERC, ... USERn and run bunch of processes/scripts. For every user, I have a script to...
1,886
Posted By PikK45
@RudiC: I do not have access to crontab for all...
@RudiC: I do not have access to crontab for all the users. Is it possible to have a single script to call the other scritps for all users? And the sub-scripts would still be running under the...
1,886
Posted By PikK45
Multiple Users - Multiple Scripts
Hello All,

I have to restart 100's of scripts for at least 20+ users once the server restarts for any reason. I wanted to come up with a single script to trigger of all scripts/programs under all...
Forum: Solaris 07-15-2017
1,569
Posted By PikK45
Is this Solaris? Are the two servers are of same...
Is this Solaris? Are the two servers are of same *nix flavors?
942
Posted By PikK45
There is no script!
There is no script!
2,474
Posted By PikK45
What are you trying to filter?
What are you trying to filter?
2,668
Posted By PikK45
Convert Numeric Time to Readable Timestamp - Perl
I am trying to hit an URL using below command and get the data into an excel sheet.

wget --user=<<USERID>> --pass=<<PASSWROD>> http://www.files.thatbelongstome.com/file1 -O test1.xls

Next step...
1,748
Posted By PikK45
Try sed '0,/Unix/s//Linux/' bipin.txt
Try sed '0,/Unix/s//Linux/' bipin.txt
1,975
Posted By PikK45
Do you have the cron log for the modified entry...
Do you have the cron log for the modified entry in the crontab?

Just as MadeInGermany said, */1 is nothing but *
4,354
Posted By PikK45
I identified the error I guess :D. The issue was...
I identified the error I guess :D. The issue was the transfer mode.

I found this out when I was testing with FTP. I am using a HP-UX Unix server and Windows XP machine.

While transferring, I...
4,354
Posted By PikK45
Extraction of .gz file using 7zip fails
Hi,

My target is to send a file created by Unix process to myself as an excel file. So I have used the below commands to achieve it.

tr -d '\t' < PROGRAM_CREATED_FILE | sed -e 's/\\//g' | awk...
2,871
Posted By PikK45
There is not $PATH1 $PATH2 defined in the script....
There is not $PATH1 $PATH2 defined in the script.

Can you please paste the complete script or the proper input & output data?

Thanks
2,507
Posted By PikK45
the executable compare is present in...
the executable compare is present in HOME=/home/execs/testing/. I switch directory before I run compare as well
2,507
Posted By PikK45
PATH=/my_data/execs:/universal/execs/:/newpath/con...
PATH=/my_data/execs:/universal/execs/:/newpath/configure/:.:/test_dir/:/bin/

This site (http://www.tldp.org/LDP/abs/html/exitcodes.html) has the message details
2,507
Posted By PikK45
Robin, That is a typo on the first line :)...
Robin,

That is a typo on the first line :) compare is the executable from a C program to compare files. environment file will have several variables defined and exported.

It does have export...
3,078
Posted By PikK45
is END the 7th line of script?
is END the 7th line of script?
2,507
Posted By PikK45
Understanding $PATH better
Dear all,

I have a script which triggers a C program in it after initialising parameters.

Below is the sample


#! /bin/sh

. /my_data/environment

HOME=/home/execs/testing/

cd $HOME...
2,048
Posted By PikK45
use $NF --> Last field of the processing line
use $NF --> Last field of the processing line
2,048
Posted By PikK45
does the file names have YYYY-MM-DD on them?? Or...
does the file names have YYYY-MM-DD on them?? Or the directory has only files for one day?
1,009
Posted By PikK45
I would suggest you to have these timestamps in a...
I would suggest you to have these timestamps in a file which will not be modified by any other process.

So, for the first run of the script you can print "TimeBefore" to $CURRENT_DATE. The other...
2,166
Posted By PikK45
grep -f file2 file1 This will help you...
grep -f file2 file1


This will help you print lines from file1 that matches patterns in file2
1,748
Posted By PikK45
dirname should help :)
dirname should help :)
Forum: IP Networking 04-24-2014
2,255
Posted By PikK45
sorry for the delay. I have ADSL connection.
sorry for the delay. I have ADSL connection.
Forum: IP Networking 04-20-2014
2,255
Posted By PikK45
Newbie on networking
Hello Guys..

I am trying to learn networking, so I am trying to set up my home for that.

I have a internet connection from a local ISP. The speed is reaching close to 1.5Mbps (minimum).

I...
1,715
Posted By PikK45
If the column you provided for exclusion is added...
If the column you provided for exclusion is added to a file called "pattern". Use below

grep -wvf pattern file
Showing results 1 to 25 of 500

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