Search Results

Search: Posts Made By: clx
1,840
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.
1,357
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
953
Posted By clx
Welcome to the forums. So is this homework?...
Welcome to the forums.
So is this homework? have you started with something?
1,352
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...
1,978
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,195
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,418
Posted By clx
It must be referenced by the iterator variable...
It must be referenced by the iterator variable FILE.
4,413
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,287
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,474
Posted By clx
Sample data please? And welcome.
Sample data please? And welcome.
14,176
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
1,670
Posted By clx
Try, awk '/08:21:39/,/08:30:00/ {print}' file
Try,

awk '/08:21:39/,/08:30:00/ {print}' file
2,238
Posted By clx
Have you checked printf? Search for it.
Have you checked printf? Search for it.
1,566
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...
994
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,508
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.
1,888
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.
1,842
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...
1,888
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,320
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,744
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...
1,974
Posted By clx
If your grep version supports -o grep -oE...
If your grep version supports -o

grep -oE '^[0-9]+' file
5,488
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
$
7,224
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).
7,224
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 10:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy