Search Results

Search: Posts Made By: cubs0729
9,577
Posted By cubs0729
Thank you so much...
Thank you so much...
9,577
Posted By cubs0729
Removing a package in unix
I have a package that i'm going to be adding...i wanted to make sure i knew how to remove it prior to instalation..

expect-5.40-sol8-sparc-local.gz

pkgadd -d ./expectpkg/

would the command...
29,016
Posted By cubs0729
Expect Script....encrypt password and use
Could someone please help me...I have an expect script. There's a need for a log in during the script and a password is required...right now the password is just a variable in the expect...
6,147
Posted By cubs0729
last execution time
is there a command in Solaris 8 that will show a particular scripts last execution time?
20,927
Posted By cubs0729
adding text to end of each line in a file
I'm needing to add a "hour:min" to the end of each line in a document. The document in this case is only going to be one line.

if this inserts it at the end, what needs to be changed to add...
1,612
Posted By cubs0729
ok, I'm stupid
I realize now that the initab is the only thing run after the kernel is started to load any application or process. Sorry about the post.
3,003
Posted By cubs0729
this is what I used
mailx -s "SUBJECT" <EMAIL ADDRESS> < "MESSAGE"
1,612
Posted By cubs0729
loading custom app at startup
how would I set up a custom application to startup at boot up. Also where would I look to see what application already startup. I don't mean the /etc/rc.d/.... directory. I need to see all the...
3,108
Posted By cubs0729
...
that sed command is not working for me...

I was going to try using this to do it, but it won't pass the variable to it...

/bin/echo '%s/^/"$newDate "/g\nwq!' | ex - $ofile
3,108
Posted By cubs0729
the sed command
I tried using the sed command, but it's doesn't do anything...

sed -e 's/$date/$newDate/g' $ofile > test.txt
3,108
Posted By cubs0729
????
Could you explain that more...

I'm using the korn shell. How would I use ruby inside a korn script.
3,108
Posted By cubs0729
replacing text in an ascii doc
What would be the best way to replace all instances of...

09/26/2005
with
20050926

There are no spaces between the the date and the preceeding and following data. example lines looks like......
37,347
Posted By cubs0729
do...while loop
while [ $newMin -ne $curMin -a $curHour -ne $curHour ]; do

this statement is not working for me....

does anyone see a problem with the statement
45,270
Posted By cubs0729
that's what I though, but...
that's what I figured. I'm trying to rationalize this syntax...

if [ not and file ] then....


I'm not comprehending the logic here, it's checking for ! (not) what. and checking for file. So...
45,270
Posted By cubs0729
option in if statement
does anyone know what the -a in an if statement is referring to

ex...

if [ ! -a "$INLOG" ]
9,101
Posted By cubs0729
Nope
I just tried it but to no avail. I got the same error message.
9,101
Posted By cubs0729
awk programming and sub function
I'm trying to use awk function sub or even gsub to search a file and replace all occurences of "$curYear|" with "$curYear ".

I need to remove the pipe delimator from only that field. I'm getting...
12,517
Posted By cubs0729
Thank you So much
thank you so so much, you saved my a$$.
12,517
Posted By cubs0729
please elaborate
I want to understand, not just use it. Yet I still can't get mine to work.

This is what I have ...

echo '%s/^/mrtsnc01/g\nwq!' ex - $ofile

what needs to be changed????
12,517
Posted By cubs0729
Adding Text To each line of a file
How would I add text to the beginning of each line in a text file in a script right after the file is created from another text file.
1,548
Posted By cubs0729
FTP a file in a script
how would I ftp a file to another server via a script

Lets say the server name is idnsp01 and the file is mylog.log

in the korn or bash shell.
2,714
Posted By cubs0729
thank you
thank you..........
2,714
Posted By cubs0729
setting a file to delete itself when it is 'n' days old
How would I in unix or linux set a file up to delete itself of the system after it's become ten days old
2,235
Posted By cubs0729
to add...
on a Solaris box
2,235
Posted By cubs0729
Byte Rate to/from a source/destination
is there a command in unix/linux that allows you to sample what the historic byte rate is from a local IP to a client IP.
Showing results 1 to 25 of 30

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