Search:
Type: Posts; User: furrycat
Search:
Search took 0.27 seconds; generated 47 minute(s) ago.
-
Do you see now why I said you had the same problem as before?
-
You have the same problem as before. SHA1SUM is a newline-separated list of digests but you are treating it as a single digest.
-
MODULE_NAME has to stay outside the loop. Inside the loop your variable is i so you need to use that in place of MODULE_NAME when setting the other MODULE_* stuff.
-
I'd loop on MODULE_NAME and move MODULE_LOCATION and MODULE_PATH inside the loop.
-
You already have the right idea by running the script in verbose mode so you can see how the variables are being expanded and what is happening. Look again at MODULE_NAME and MODULE_PATH.
Hint:...
-
Nope. In normal operation runlevels are changed: at startup; again at shutdown; apart from that not at all.
You could try using an acpid trigger for suspend/sleep stuff. Examples.
-
Runlevel scripts have nothing to do with user sessions. A gdm postsession script would in fact be a good place to do what you want.
-
Two slashes means multiple replacements. One slash would just replace the first occurrence.
-
Presumably you could edit your Wine configuration to treat an ISO image as a virtual CD drive.
Unfortunately I haven't used Wine in many years so you will indeed have to RTFM to figure out how to...
-
The path of least resistance may be to eat the quotes later:
case ${choice//\"/} in
...
-
> file is a shell operation. It's independent of the command run.
> tee echo 4 f3is the same as well.
-
The command as written
echo $(echo "$(cat file1)/$(cat file2)"|bc) > tee f3expands to this
echo $(echo "2/0.5"|bc) > tee f3which expands to this
echo 4 > tee f3which is equivalent to this
echo 4...
-
I really don't like the use of et al. in this context. It usually refers to other people, not other things and it is generally implied that you know who the others are but are choosing to gloss over...
-
preupgrade is for upgrading over the network. If you have a DVD there's no need to do it.
For various reasons preupgrade probably wouldn't work on FC2, not least of which because it requires a...
-
The binary might not be called ghex. On Fedora 15 it's ghex2. You can see the contents of an installed RPM package with
rpm -ql ghex
-
You can use xmacroplay. Some window managers will let you bind arbitrary keypresses to run commands (eg xmacroplay) but an alternative is to run xbindkeys in the background to listen for the...
-
Well I don't really understand awk (I only read the first half of "sed and awk") so I might be missing something here but I had to make some changes to get the script to run at all.
For a start...
-
-
kdialog doesn't move files. It puts a dialog on the screen. You need to do the moving based on the output of kdialog.
-
To understand the answer you have to think about what happens behind the scenes when you drag the file from one place to another in your file manager.
First the file manager will read a block of...
-
distroverpkg points to a version provided by an installed RPM, not the file in /etc. If you do yum whatprovides redhat-release you will see where the 5.2 comes from.
In any case the URL in your...
-
First of all there's no need to use sed because bash can do the replacement for you.
CLIST=${CLIST//,/ }Unfortunately you do not show how CLIST is passed to the second script so one can only guess...
-
I can't stand split or curved keyboards. Come to think of it I don't like quiet keyboards much either. They need to be straight, they need to be chunky and they must clack when you type. I've had...
-
I've seen a similar situation with a Windows machine which could authenticate with my Samba server but couldn't load or save profiles because of a bug I later fixed, so it's comparable to being off...
-
You're over-complicating things. By setting IFS you are telling bash to treat spaces in input as part of the input and not a delimiter. But then you embed backslashes in the filename to escape the...
|
|