Search Results

Search: Posts Made By: clx
2,725
Posted By clx
In that case, which column does this have info?...
In that case, which column does this have info? Please post the contents of /etc/vfstab.
2,054
Posted By clx
My guess is you are executing "wrapper.sh"...
My guess is you are executing "wrapper.sh" instead sourcing.


# try
. ./wrapper.sh

#instead
./wrapper.sh
1,268
Posted By clx
Welcome to the forums. So is this homework?...
Welcome to the forums.
So is this homework? have you started with something?
2,062
Posted By clx
you getting "permission denied" or "No such file...
you getting "permission denied" or "No such file or directory" ?
How do you invoking the script when you run manually? Is it via using shell binary like

ksh script_name.sh

If yes, you probably...
2,715
Posted By clx
How the input looks like? Is it CSV as you shown?...
How the input looks like? Is it CSV as you shown? located where? from file , string or something else?
2,670
Posted By clx
Possible options : - GNU Parallel -...
Possible options :

- GNU Parallel
- Running scripts simultaneously in background and implements control over them.
- Similar to above, re-design your implementation and using some functions run...
1,688
Posted By clx
It must be referenced by the iterator variable...
It must be referenced by the iterator variable FILE.
6,984
Posted By clx
It may or may not work based on the HW/SW...
It may or may not work based on the HW/SW incompatibilities. If your rpm says the similar dist / patch you can try.
1,481
Posted By clx
Try awk 'NR==FNR {a[$0]=$0;next} ($0 in a)...
Try

awk 'NR==FNR {a[$0]=$0;next} ($0 in a) {print $0 > "file_" $0}' pattern_file all_data.txt
1,970
Posted By clx
Sample data please? And welcome.
Sample data please? And welcome.
15,895
Posted By clx
Welcome to the forums. Your input string seems...
Welcome to the forums.
Your input string seems to be confusing to me. Could you please provide some sample data which is seperated by "|" and provide expected output? ALso how do you reading those...
Forum: Linux 05-15-2015
2,168
Posted By clx
Try, awk '/08:21:39/,/08:30:00/ {print}' file
Try,

awk '/08:21:39/,/08:30:00/ {print}' file
2,696
Posted By clx
Have you checked printf? Search for it.
Have you checked printf? Search for it.
2,140
Posted By clx
You can skip the further processing if the files...
You can skip the further processing if the files are "counterparts". To be clear, if the filename contains "-" (or any other check which you think would be safe).

Something like..

for f in...
1,154
Posted By clx
A more descriptive title would be useful. As...
A more descriptive title would be useful.
As mentioned by MadeInGermany, If you dont have GNU specific sleep you must provide only integer (without s).
3,937
Posted By clx
Welcome to the forum. You need an xml parsing...
Welcome to the forum. You need an xml parsing tool. more precisely xpath handling. You can google for it.
2,331
Posted By clx
You need a loop to read the file. Search for it.
You need a loop to read the file. Search for it.
2,180
Posted By clx
@cmccabe, Any specific reason to create a new...
@cmccabe, Any specific reason to create a new thread ? If its similar problem, please continue here (https://www.unix.com/shell-programming-and-scripting/257531-bash-search-file.html)

You have...
2,331
Posted By clx
You have used -n switch which is stopping output...
You have used -n switch which is stopping output to be displayed on the screen.

sed 's/apple/orange/' filename > newfile

If your version supports -i option then you can save the changes in the...
2,846
Posted By clx
Am I missing something here? On ftp server :...
Am I missing something here?

On ftp server :
- New "Red_bill.txt" should be over-written hopefully if permissions allowed.
- If not, you should be having the same old file (check with timestamp)...
1,917
Posted By clx
I get 78 fields in header (taking comma as field...
I get 78 fields in header (taking comma as field seperater) and 119 in fields in second line.
Your file doesnt look proper or you have provided incomplete information.


Secondly, -F should be...
2,532
Posted By clx
If your grep version supports -o grep -oE...
If your grep version supports -o

grep -oE '^[0-9]+' file
9,003
Posted By clx
$ cat db.config input1=someinput ...
$ cat db.config
input1=someinput
input2=someotherinput


$ cat myscript.sh
. db.config
echo $input1
echo $input2


$./myscript.sh
someinput
someotherinput
$
8,774
Posted By clx
Ah, I missed that point. You mentioned there is...
Ah, I missed that point. You mentioned there is no option to use those! What issues you facing?

Apart from ssh-keygen, you can use expect (http://en.wikipedia.org/wiki/Expect).
8,774
Posted By clx
Use ssh-keygen. Google or seach within the forum...
Use ssh-keygen. Google or seach within the forum for more details.
Showing results 1 to 25 of 500

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