Search Results

Search: Posts Made By: FunibonE
3,039
Posted By FunibonE
tar tvf tarfile.tar | grep "word_string"
tar tvf tarfile.tar | grep "word_string"
49,007
Posted By FunibonE
Your probably using c-shell and it is using it's...
Your probably using c-shell and it is using it's own built in echo sub-command.

Try this:

/bin/echo "Message from bac logistics\nThe Confirmation File has not been received."

HOME:~ %...
3,039
Posted By FunibonE
All you have to do is insert "fg" in line after...
All you have to do is insert "fg" in line after done in Test1.ksh file.
Your script are working in background; bring it into foreground to end.


#! /bin/ksh

for i in $*
do
#echo "$i"
ksh...
2,045
Posted By FunibonE
I'm sure someone will have a better way of...
I'm sure someone will have a better way of achieving this but here's one version:

~/scripts/play % cat file1
************************
* packageNumber : 1.0.0.14 *
* date : 2008.02.08 *...
6,057
Posted By FunibonE
That worked! Thank you all very much.
That worked!
Thank you all very much.
3,407
Posted By FunibonE
I am sending the exact mail commands on my...
I am sending the exact mail commands on my solaris system and it is received fine.

% cat file1
1 file
2 file
3 file
4 file

PatchMail:~ % mail -s "contents of file1" myaddress@email.com...
6,057
Posted By FunibonE
Hi. I was trying to keep the question simple but...
Hi. I was trying to keep the question simple but I guess I can't anymore so here is the actual data.

TRUE 6.8785794488e-05 0.000 0.000 FALSE 6.8785794488e-05 0.000 0.000TRUE 1 FALSE 1 TRUE
TRUE...
6,057
Posted By FunibonE
Thank you but this file has other numbered...
Thank you but this file has other numbered variables too so I cannot search for numbers alone or characters alone. I must be able to search for 001FILE as a whole and then split the output into 001...
5,752
Posted By FunibonE
How would you know if your script failed or not...
How would you know if your script failed or not without testing? you can always manually run it :D
3,407
Posted By FunibonE
Try this: uuencode abc abc |mailx -s...
Try this:

uuencode abc abc |mailx -s "contents of abc" jdoe@email.com

abc is the file name.
Forum: Solaris 07-16-2008
9,650
Posted By FunibonE
Try this: 1. logon to the workstation as...
Try this:

1. logon to the workstation as root
2. create a file with name:
dhcp.INTERFACENAME
where INTERFACENAME is the name of the network interface where DHCP must be configured
...
22,738
Posted By FunibonE
User Commands ...
User Commands sh(1)

The following options specify the resource whose limits
are to be printed or set. If no option is specified,...
6,194
Posted By FunibonE
csh: a simple "diff file1 file2 > file3" would...
csh:
a simple "diff file1 file2 > file3" would do.

Differences will be in file3 with arrows pointing to which file difference was found.

example:

% diff awe_parse AWE_parse
17,20c17
< ...
6,057
Posted By FunibonE
partial word replacement using sed
Example contents of a file:

001FILE
002FILE
003FILE
099FILE
111FILE

Is it possible to search for [000-111]FILE and still keep the number part of the result in tact? The number portion is a...
24,947
Posted By FunibonE
Then use this: sed 's/\<class\>/room/g'...
Then use this:

sed 's/\<class\>/room/g' filename

Should only replace words that start and end with class.
24,947
Posted By FunibonE
use: sed 's/class\>/room/g' filename the...
use:
sed 's/class\>/room/g' filename

the above will only replace lines that end with class and will ignore classes.
Showing results 1 to 16 of 16

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