Search Results

Search: Posts Made By: dude2cool
Forum: Programming 04-28-2013
4,515
Posted By dude2cool
Try ssh and expect. Search on google and you will...
Try ssh and expect. Search on google and you will find expect code or scripts to pass interactions via ssh.
Here is an example:
bash - automating install.sh script using an expect script - Stack...
Forum: UNIX and Linux Applications 04-28-2013
6,349
Posted By dude2cool
Here is some information from Host/Target...
Here is some information from Host/Target specific installation notes for GCC - GNU Project - Free Software Foundation (FSF) (http://gcc.gnu.org/install/specific.html)

"AIX 4.3 utilizes a “large...
Forum: Linux 01-26-2012
10,411
Posted By dude2cool
Post output from the below, don't forget the...
Post output from the below, don't forget the ending "." (dot) after hello test string.


$ /usr/lib/sendmail -vvt
To:<here specify the user you want to send mail to>
Hello test
.
Forum: Linux 01-26-2012
4,417
Posted By dude2cool
If you have the install media, they should be...
If you have the install media, they should be already added as a repository for you during the install. Post output from below:

urpmq --list-media

If you see your media listed above, you should...
4
2,128
Posted By dude2cool
Read here (not saying you should not ask...
Read here (not saying you should not ask questions, but google is your friend, always search first. Took me less than a second to find the below) :)

bash: clear: command not found...
Forum: Linux 01-26-2012
10,411
Posted By dude2cool
are you on redhat/centOS? if you do you have...
are you on redhat/centOS? if you do you have SELinux enabled? If so disable it and try if things work for you. Not saying you should perma-disable SeLinux, but just for troubleshooting.

Also you...
8,564
Posted By dude2cool
Try this: ssh -l user remote-address...
Try this:

ssh -l user remote-address "your-command 2>&1 &"
Forum: Red Hat 01-23-2012
3,441
Posted By dude2cool
I am assuming an external USB drive? If so, check...
I am assuming an external USB drive? If so, check if your BIOS supports booting from a USB drive. If it does, there should not be an issue installing it on an external USB drive and booting from it.
24,959
Posted By dude2cool
Maybe there is an easier/better/efficient way to...
Maybe there is an easier/better/efficient way to do this. For the moment, try this:


grep -v `head -1 /tmp/test` /tmp/test

Here is the output:



my /tmp/test has the following lines:
Forum: UNIX and Linux Applications 01-23-2012
3,606
Posted By dude2cool
What about adding an echo "This is the line...
What about adding an echo "This is the line $line"

for line in `cat file.txt`;
do
echo "This is the line $line"
snmpget $line
echo "-------------------------"
done

PS:- Oops, I think...
Forum: Solaris 01-10-2012
4,184
Posted By dude2cool
What do you mean more than 100%? Can you post...
What do you mean more than 100%? Can you post output from prstat -t and -a?
Forum: Solaris 01-09-2012
6,856
Posted By dude2cool
Maybe this will help (but just realized you may...
Maybe this will help (but just realized you may be having issue just with sa21 file, so the below URL may not help in your case)

SUMMARY: sar not working in Solaris 9 on V880 or V240...
6,207
Posted By dude2cool
So you have a script that spits out a prompt for...
So you have a script that spits out a prompt for user to enter yes or no. You want to automate this via expect, so that the responses can be passed onto this script? right?

if so, consider this...
3,257
Posted By dude2cool
grep w$'\xC3\xBC'rzburger /tmp/2 würzburger ...
grep w$'\xC3\xBC'rzburger /tmp/2
würzburger

cat /tmp/2:

wcrzburger
würzburger
wcrzburger
3,904
Posted By dude2cool
So you have around 6.5 Gig in / which is where...
So you have around 6.5 Gig in / which is where your /tmp is. So you are running out of space doing sort.

Is there any other free space on your hard disk that you can use? If you so, use the -T...
2
1,085
Posted By dude2cool
Why write a script when this can be done via a...
Why write a script when this can be done via a command:


paste -d "\n" /tmp/f1 /tmp/f2 /tmp/f3

And here is the output from above:

The sky is blue
aaaaaaaaa
kkkkkkkkkkkkkkkkkkk
The earth...
978
Posted By dude2cool
Why the prejudice towards for? :) The while...
Why the prejudice towards for? :)

The while loop as suggested by frank is an excellent suggestion.

Read the below, maybe it will help you see the reason:

DontReadLinesWithFor - Greg's Wiki...
3,904
Posted By dude2cool
I think ctsgnb already mentioned this in his...
I think ctsgnb already mentioned this in his post, but try to see if the sort on your OS, support the "-T" option.
Also post output from df -k /tmp. Looks like you are running out of space in /tmp....
4,069
Posted By dude2cool
This looks like a good thread to start. Hope this...
This looks like a good thread to start. Hope this helps:

Deleting files older than 14 days using Batch file script - Dev Shed...
6,066
Posted By dude2cool
so assuming you want to spool the files from a...
so assuming you want to spool the files from a SQL DB in unicode, (disclaimer:am no sql expert, found this on the interweb, so YMMV). Try this. Set this in your shell and try spooling the files. Also...
Forum: Solaris 01-05-2012
7,197
Posted By dude2cool
Does not look like you have a nfs server running....
Does not look like you have a nfs server running. I am assuming you have a nfsserver running and you want to find what version?

Post output from:

svcs -a | grep nfs
Forum: Solaris 01-05-2012
7,197
Posted By dude2cool
Check: cat /etc/default/nfs also,...
Check:

cat /etc/default/nfs

also, rpcinfo -p localhost should list out the version information in the second column. By default since NFS version 4 will answer to lower version clients, so in...
2,618
Posted By dude2cool
Try this and you will know what it does :) ...
Try this and you will know what it does :)

echo "/ab/abc/abcd"| sed 's,/.*/,,'
Forum: AIX 01-04-2012
5,568
Posted By dude2cool
For man, here you go: ...
For man, here you go:

https://www.unix.com/aix/160182-preventing-screen-redraw-when-more-exits.html
30,703
Posted By dude2cool
try gzip -l file.gz From man gzip:
try gzip -l file.gz

From man gzip:
Showing results 1 to 25 of 310

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