-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ralf Mardorf wrote: > Hi :) > > some users on that list seems to be fine with writing shell scripts. I'm > still not fine with it and endeavour to avoid non-POSIX style while > learning how to write those scripts. > You may wish to have a look at the following:
http://tldp.org/LDP/Bash-Beginners-Guide/html/ and http://tldp.org/LDP/abs/html/ <snip> > Hints how to use "grep" are welcome, e.g. if a PID has got 5 instead of > 4 numbers, the script will display absurd messages. > You need to learn about regular expressions. The previous guides that I mentioned touch on regular expressions, but you will probably want to go a little deeper. Also, it should be noted that regular expressions are used in .Net as well as a lot of other places, as such they are not limited to the *Nixs. > I'm a little bit confused about the separation between user and root on > the Ubuntu based 64 Studio. Does anybody know how I can launch an > application as user by my shell script, even if the script was started > as root? su <username> commands. Hth, -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFK0/uPwRXgH3rKGfMRAqucAKCs2fga1T/4uZqTWEDlDGip41jZswCfWsDT EEBuXFpuDDpZkd3XDSKPf+k= =l9aF -----END PGP SIGNATURE----- _______________________________________________ 64studio-users mailing list [email protected] http://lists.64studio.com/mailman/listinfo/64studio-users
