Search Results

Search: Posts Made By: heman96
3
1,958
Posted By Corona688
Editing your script in Microsoft Word has filled...
Editing your script in Microsoft Word has filled it with nasty smart quotes which the shell will not understand as being quote characters.

Be sure to change all your “ ” back into " " if you want...
3
1,958
Posted By Chubler_XL
1 2 3 15 are not arguments to cleanup they are...
1 2 3 15 are not arguments to cleanup they are signals to trap

1 - hangup
2 - interrupt
3 - quit
15 - software termination (kill)

Check man bash for details of the trap internal command.
1,934
Posted By Corona688
Think of a project and make it. Maybe try and...
Think of a project and make it. Maybe try and make a game of some sort. Test out your theoretical knowledge and see if it can solve a real problem.

I can't give you a step-by-step process...
1,934
Posted By sea
Hi Copy paste any short example to your...
Hi
Copy paste any short example to your terminal and try to alter it.
Alternativly, paste it to an editor, change there, copy paste to terminal, or save that file and execute it.
1,934
Posted By wisecracker
Hi... (Apologies for any typos.) I am...
Hi...
(Apologies for any typos.)

I am probably an experienced hand here... ;oD

Think of a fairly difficult project that you think shell scripting might not be able to do.
Jump in right at the...
10,351
Posted By Scott
It works only from the location of the RPM, or...
It works only from the location of the RPM, or from the given path to the RPM in the yum command itself.
1,895
Posted By MadeInGermany
#!/bin/bash file=/etc/resolve.conf for i in...
#!/bin/bash
file=/etc/resolve.conf
for i in `cat ip`
do
<$file ssh root@$ip "
cp -p $file $file.bak && cat >$file
"
done
1,895
Posted By jim mcnamara
#/bin/bash for i in `cat ip` do ssh $ip...
#/bin/bash
for i in `cat ip`
do
ssh $ip 'tar cvf /path/to/archive/resolve.tar /etc/resolve.conf'
scp /etc/resolv.conf root@$ip
done
[/path/to/archive] example directory - has to exist
...
Showing results 1 to 8 of 8

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