Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
How to escape the 'pipe' command
Name: Peter Date: March 11, 2002 at 16:23:49 Pacific
Comment:
How do I evaluate a command that is stored within a variable ?
I have the following script: #!/bin/sh my_func_call=ls -l | more echo "Evaluating $my_func_call" $my_func_call
I tried placing single quotes (', not `) arount the statement. When my call is only ls -l, all it fine. The problem is that the pipe and the more is translated as a directory ?
I would very much appreciate by email. I will post the answer after figuring it out. Thanks
Summary: Right, I am finding Crontab very confusing, and would greatly appreciatte any help with it. First, when I tried to run it (Crontab -e) it opened up in what I presume is a console text editor which co...
Summary: Nope...it should all be on one line. How are you then trying to use the mount command as a user? It should be: $ sudo mount /mnt/usb Another alternative would be to add the "user" flag in /etc/fstab. ...