Search Results

Search: Posts Made By: BubbaJoe
3,953
Posted By BubbaJoe
You have to change your script to input into the...
You have to change your script to input into the ssh command. Doing an ssh and then doing an echo won't work for it closes the tty from the ssh command before it executes the echo command. You need...
2,636
Posted By BubbaJoe
Did you try this install process for Openssh with...
Did you try this install process for Openssh with Cygwin?

http://chinese-watercolor.com/LRP/printsrv/cygwin-sshd.html
2,675
Posted By BubbaJoe
So if you run your script to generate the output...
So if you run your script to generate the output manually twice in a row it just appends to the file with no problems? I don't think cron is your issue.
1,992
Posted By BubbaJoe
exactly what do you mean by it fails? Syntax...
exactly what do you mean by it fails? Syntax Error?
2,344
Posted By BubbaJoe
cat filename | tr "\t" "@"
cat filename | tr "\t" "@"
1,168
Posted By BubbaJoe
Using more to display a screen at a time or use...
Using more to display a screen at a time or use pg instead.
Descending
ls -lt * | more

Ascending
ls -ltr * | more
1,448
Posted By BubbaJoe
ls -1 *s | wc -l
ls -1 *s | wc -l
1,603
Posted By BubbaJoe
This worked for me.. a="i am variable" ...
This worked for me..

a="i am variable"
b="i am second"
sed -e "s/find_string/$a/g" -e "s/find2_str/$b/g" input_file
4,299
Posted By BubbaJoe
You can fix your code by putting double quotes...
You can fix your code by putting double quotes around the variable names when calling your function
read names
namesCheck "$names"

function namesCheck() {
myname=$1

for i in $myname
do...
10,779
Posted By BubbaJoe
Search the forums. You find several examples of...
Search the forums. You find several examples of how to do it.
38,271
Posted By BubbaJoe
Yes it works in ksh
Yes it works in ksh
38,271
Posted By BubbaJoe
I believe you can try this if you are using bash ...
I believe you can try this if you are using bash

if [[ ${name:0:3} = "abc" ]]
then
echo success
fi
8,468
Posted By BubbaJoe
IN Just changing your code you can change your...
IN Just changing your code you can change your -F":" -F"R" so you would have

grep $ORACLE_SID /var/opt/oracle/oratab|grep -v \# |cut -d/ -f6|awk -F"R" {'print $1'}
Forum: IP Networking 09-22-2009
2,710
Posted By BubbaJoe
I believe it is a configuration issue you are...
I believe it is a configuration issue you are running into. Check out this url

http://www.csd.uwo.ca/staff/magi/doc/bind9/Bv9ARM.ch06.html
1,244
Posted By BubbaJoe
You can use the same user for both. The...
You can use the same user for both. The difference is the process that processes the login attempt. Ftp usually uses port 21 and so the ftpd server processes those requests. The SCP comes in on a...
2,688
Posted By BubbaJoe
I believe the issue is the "$i:" is not being...
I believe the issue is the "$i:" is not being substituted correctly. You may try "${i}:"
Forum: Infrastructure Monitoring 09-01-2009
16,642
Posted By BubbaJoe
Yes you still have to use trap to prevent a user...
Yes you still have to use trap to prevent a user from breaking out of a shell or killing a shell you don't want them to kill.

Here is a simple list of signals

#define SIGHUP 1
...
2,150
Posted By BubbaJoe
Guess not
Guess not
8,368
Posted By BubbaJoe
If you are using bash you can try using the...
If you are using bash you can try using the --date option. Sonething like this

sh-3.2$ date
Fri Aug 21 01:16:57 CDT 2009
sh-3.2$ date --date="Fri Aug 21 01:16:57 -4:30"
Fri Aug 21 00:46:57 CDT...
3,563
Posted By BubbaJoe
Doe you know what sshd it running on the windows...
Doe you know what sshd it running on the windows side? Openssh? Winssh? Could be a limit with that server software. May need to upgrade the software. I know freeftpd had problems with files over 1...
20,437
Posted By BubbaJoe
Are you sure it is not spooling the data out or...
Are you sure it is not spooling the data out or you are not getting any data from your sql command? Did you take the -s out and run it?
1,184
Posted By BubbaJoe
change mget $fname.tar to mget...
change

mget $fname.tar

to

mget ${fname}.tar
1,436
Posted By BubbaJoe
Try to echo the command before you execute it for...
Try to echo the command before you execute it for debugging purposes to make sure all your variables are correct. See if it displays like it should.

USER=`cat $SYBASE/.asepwd | cut -d: -f2 | head...
Forum: Solaris 08-05-2009
5,227
Posted By BubbaJoe
Sun Solaris usually uses OpenSSh. You can browse...
Sun Solaris usually uses OpenSSh. You can browse the web for more info on that if needed.

Most systems will log to a log file under /var/log/authlog or something like that. See if that file...
Forum: AIX 08-05-2009
42,696
Posted By BubbaJoe
Here is a link to the mail command you might find...
Here is a link to the mail command you might find helpfull

http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds5/sendmail.htm
Showing results 1 to 25 of 152

 

Featured Tech Videos

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