learn bash and auto-power-off
hello list, 1. When I open some file in /etc there's a script like $,/R,/u,-u etc.. I know that's a bash script, and the problem is I've looked for what those symbol above means in www.tldp.org but I just can't found it. Where is the place I should find a complete bash reference ? 2. How to make my monitor auto turn off after 15minutes and auto shutdown the PC after 1hour? (My mobo is ECS-K7S5A) newbie ===== --------------- indonesian newbie __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
On Thu, 1 May 2003 08:35:58 -0700 (PDT)
ody
hello list, 1. When I open some file in /etc there's a script like $,/R,/u,-u etc.. I know that's a bash script, and the problem is I've looked for what those symbol above means in www.tldp.org but I just can't found it. Where is the place I should find a complete bash reference ?
man bash but it isn't easy for a beginner Go to http://freshmeat.net and search for Advanced Bash-Scripting Guide -- use Perl; #powerful programmable prestidigitation
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Thursday 01 May 2003 16:35, ody wrote:
2. How to make my monitor auto turn off after 15minutes
Enable DPMS. In KDE, do this via KControl.
and auto shutdown the PC after 1hour?
In KDE, you can 'sleep 1h && dcop --all-users ksmserver ksmserver logout 0 2 0' - -- Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org Web: http://chrishowells.co.uk, PGP ID: 33795A2C KDE: http://www.koffice.org, http://printing.kde.org, http://usability.kde.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE+sXi3F8Iu1zN5WiwRAgWoAJ9bZvDjiZq0wKCkxbBBLvP7F1cqmgCeJEXh 3zs/3241SEO9vctezOQ7xvg= =yiNb -----END PGP SIGNATURE-----
The 03.05.01 at 08:35, ody wrote:
1. When I open some file in /etc there's a script like $,/R,/u,-u etc.. I know that's a bash script, and the
Sorry, I got lost. Do you mean you have a script by the name of "$,/R,/u,-u" in /etc/? There should not be any script on that dir, and that is not a normal name for any file. -- Cheers, Carlos Robinson
On Friday 02 May 2003 02:33, Carlos E. R. wrote:
Sorry, I got lost. Do you mean you have a script by the name of "$,/R,/u,-u" in /etc/? There should not be any script on that dir,
There are a couple. /etc/profile for example. And if you include subdirectories there's a whole bunch of them.
and that is not a normal name for any file.
Agreed, but I suspect he's talking about the contents, since / isn't a valid character in a file name
On Thu, 01 May 2003, ody just had to get this off his chest:
hello list, 1. When I open some file in /etc there's a script like $,/R,/u,-u etc.. I know that's a bash script, and the
That's no bash, that's ed. man ed. Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 27N , 4 29 45E. SuSE 8.2 x86 Kernel k_Athlon 2.4.20-4GB See headers for PGP/GPG info.
participants (6)
-
Anders Johansson
-
Carlos E. R.
-
Chris Howells
-
ody
-
Theo v. Werkhoven
-
zentara