les to $i:/tmp/temp"
> scp -i ~/.ssh/$i /usr/local/bin/myfile.sh [EMAIL PROTECTED]:/tmp/temp
>
> echo "Executing myfile.sh"
> log "Executing myfile.sh"
> ssh -i ~/.ssh/$i [EMAIL PROTECTED] "/tmp/temp/myfile.sh"
>
>
sh -i cmd.bash
>
> bash -i -O expand_aliases cmd.bash
> bash -O expand_aliases -i cmd.bash
I also suggested adding "shopt -s expand_aliases" to the script.
You replied that is wasn't necessary. You didn't try it
your drive up any more than you absolutely have to.
> 3. any other suggestions/rearrangement of my partition scheme?
See above.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
==
She
e) means the opposite of tight
lose (rhymes with booze) means to misplace
If virus took a latin plural, it could be viri, but never virii.
The accepted plural is viruses.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===
t; me. :)
And just as good if you do maximize windows -- like me. I usually
have one to four maximized windows on each of 10 desktops.
What I like most about WindowMaker is its configurability. Recent
versions of KDE have, perhap
In bash you can do:
var=$1
INFILE=${!var}
To make it portable, so that your script can be run in any
Bourne-type shell:
eval "INFILE=\${$1}"
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===
urced.
> Is there some way I can fix this problem? I tried to add a
> script S10sourceprofile to /etc/rc2.d/ but that didn't work.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
==
nux distro I've used, including Debian.
There are at least two versions; in Debian it's a perl script; in
others (Mandrake, at least) it's a compiled executable.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===
I am
> wondering if there is any tool out there which does the above job.
>
> I can do it with c or fortran but that does not appear to be elegant.
>
> I looked at split, csplit. But they dont seem to do this. Googling did
> not help much. Any other ideas?
awk '/^d
's no need for grep, tail or sed:
temp=$(ifconfig ppp0) ## Replace ppp0 with your active interface.
temp=${temp#*addr:}
ip=${temp%% *}
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
==
Shell
nd it won't continue on.
> Is it possible to pound out the tar command and still leave the if
> statement intact? even though there is no command to do.
if [ "$day" = "Thu" ]; then
: tar -cpf /var/backups/homethu.tar /h
s not work right.
Do you have the right paper size set? If you use A4 and it is set
for letter size (vice versa), you'll see something like that.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
command adds more control that the basic xmms.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
==
Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress
<http://www.torf
).
Why are you using something that you don't have control over?
does anyone know how to do this? if it can be done from amarok that's
great, otherwise i can use whatever music player is required.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
a
> 10-fold decrease is (1/10) * 10 = 1 widget
>
> that make any sense?!
No, it doesn't make any sense.
The price has decreased to one two-thousandth of what it was (I
didn't check the arithmetic; I'm only talking about the language).
--
Chris F.A. Joh
t;> /KS
>>
>>
> More examples:
> http://www.theglobeandmail.com
> http://www.thestar.com
> http://www.canada.com
> --> these three hang in mozilla indicating that it is trying to load
> something from img.mediaplex.com
I have no problem with these sites, using F
ich sources /etc/profile and ~/.bash_profile.
If the shell is interactive, but not a login shell (e.g., xterm
without -ls), it sources ~/.bashrc.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===
ter's IP now?
ip=$(lynx -dump http://cfaj.freeshell.org/ipaddr.cgi)
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
==
Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress
&
tty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
==
Shell Scripting Rec
o
: whatever
word=${line%% *}
done
: variables set within the loop are still available here, e.g.:
printf "%s\n" "$word"
}
: but not here
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===
~/bin in my path. Any help is appreciated. I am
> running sarge with yesting and unstable in sources.list for
> upgrading.
Unless it is a login shell, ~/.bash_profile is not sourced.
Put the PATH statements in ~/.bashrc, or call bash with the -l
option
ay for years.
> I've not gotten down to do it yet, but I set up a challenge
> for myself: spend one month in front of my computer without
> touching the command line, mutt, or vim. I want to sell
> Linux to my friends, and I can
22 matches
Mail list logo