Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: vidyadhar85
1,394
Posted By vidyadhar85
If you have latest grep you have below options in...
If you have latest grep you have below options in grep
Context Line Control


or you can use awk


awk 'c-->0;/pattern/{c=98}' Infile
1,492
Posted By vidyadhar85
One more way :) printf "%s %s %s\n"...
One more way :)


printf "%s %s %s\n" $(cat filename)

or

printf "%s %s %s\n" $(echo '0001 firstname1 lastname1 0002 firstname2 lastname2 0003 firstname3 lastname3 0004 firstname4...
887
Posted By vidyadhar85
You have to update the CLASSPATH env variable
You have to update the CLASSPATH env variable
764
Posted By vidyadhar85
Could you please post the content of your file? ...
Could you please post the content of your file?

Usually awk wont consider the space as default separator when -F is used.


(euri1adm@DEURLX01:/applis/euri1/vidya)vidya...
772
Posted By vidyadhar85
you can use something like below find ....
you can use something like below


find . -type f -name "*.txt" -mtime +7 -exec tar -zcvf UQ-CI01_FF_20130905_10H24M.tar {} \;
Forum: Fedora 09-12-2013
3,757
Posted By vidyadhar85
Its not an easy question to answer :) you...
Its not an easy question to answer :)

you can start with below link..

List of operating systems - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/List_of_operating_systems)
1,490
Posted By vidyadhar85
You can use awk command to get the desired...
You can use awk command to get the desired output.. regarding ??? not sure what inbtw process happening in your script..


awk '{print $1" "$1" "$4}' Input1.txt
1,150
Posted By vidyadhar85
Yes.. If you run the script in nohup and...
Yes.. If you run the script in nohup and background you can proceed to the next parameters in your while loop.

Nohup <<script>> &
1,150
Posted By vidyadhar85
Cant you start it in background? and what do you...
Cant you start it in background? and what do you mean by "not able to come out from second script" mean?
639
Posted By vidyadhar85
you can try Filezilla
you can try Filezilla
840
Posted By vidyadhar85
It checks if the length of the string is zero or...
It checks if the length of the string is zero or not.

In your case they want to perform some actions if PID is not forund for a java process
696
Posted By vidyadhar85
Could you please post the code you have tried so...
Could you please post the code you have tried so far?
1,527
Posted By vidyadhar85
try.. sort filename|uniq -u
try..


sort filename|uniq -u
678
Posted By vidyadhar85
try running it as sh -x <<script...
try running it as sh -x <<script name>>
Forum: HP-UX 08-20-2013
1,897
Posted By vidyadhar85
U can try Brainbench certifications
U can try Brainbench certifications
804
Posted By vidyadhar85
Are you sure that we have == and not = or -eq...
Are you sure that we have == and not = or -eq with if in shell? :)
2,508
Posted By vidyadhar85
why dont you grep for "No space left on device"...
why dont you grep for "No space left on device" as you have done for other errors?
2,508
Posted By vidyadhar85
Right now whats the exit code you are getting...
Right now whats the exit code you are getting after xyz fails?
have u tried echoing it?
4,332
Posted By vidyadhar85
The error will occur when your command to create...
The error will occur when your command to create that file wont find any patterns which you are searching in the file thus no tempfile gets generated.

add below block to avoid it


if [ -f...
1,610
Posted By vidyadhar85
why arent u using sed? sed 's/$/;/g'...
why arent u using sed?


sed 's/$/;/g' filename
6,801
Posted By vidyadhar85
Have you tried the sort command which I have...
Have you tried the sort command which I have provided above?
1,018
Posted By vidyadhar85
If you want to use PERL and the .doc format file...
If you want to use PERL and the .doc format file then you should have permission to install some perl modules to make your job easy.
6,801
Posted By vidyadhar85
sort -t, -k1,1 -u input.csv
sort -t, -k1,1 -u input.csv
1,834
Posted By vidyadhar85
redirect the output of your top command to a file...
redirect the output of your top command to a file and start that as background process run sleep for 5 mins and then kill the background process.

---------- Post updated at 02:19 PM ----------...
1,425
Posted By vidyadhar85
u can make use of WHENEVER SQLERROR feature of...
u can make use of WHENEVER SQLERROR feature of Oracle in your .sql to return the oracle error code and pass it to oerr ora <<error number>> to display the error description.
Showing results 1 to 25 of 500

 

Featured Tech Videos

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