If you would like to copy a set of files for all existing users, use the following scripting trick. It will save lots of manual work.
{ 10 comments }
Now rssh is installed. Next logical step is configure user to use rssh. All you have to do is set a user account shell to /usr/bin/rssh. The following examples adds user didi to system with /usr/bin/rssh. Create a new user with /usr/bin/rssh Login as the root user Type the following command to create a new [...]
{ 15 comments }
Bash can auto complete your filenames and command name. It can also auto complete lots of other stuff such as: => Usernames => Hostname => Variable names => Fine tuning files and names with ESC keys Match variable If the text begins with $, bash will look for a variable. For example, open terminal and [...]
{ 6 comments }
VIM is my preferred text editor for configuring system and writing code at a shell prompt. However, many new Linux user finds it difficult to cope with vim or vi. This tutorial provides a good introduction:
{ 0 comments }
Here is a quick tip, if you wish to perform an unattended download of large files such as Linux DVD ISO file use the wget command as follows:
{ 6 comments }
This is a classic problem. One of our FAQ is about cron job. I received lots of email with a question: How do I run my script on 3rd Monday or 4th Friday only? Cron does not offer this kind of facility i.e. you cannot run a script on the Nth weekday of the month. [...]
{ 12 comments }