Results 1 - 11 of about 11
Replacing Variables in Bash/shell
Replacing Variables in Bash/shell Intro: Expression:Defininition Intro: First of all make sure that you the variable is defined before...
Nov 20, 2009Operating Systems > Linux > Shell > Bash
Modifying a read-only variable
Modifying a read-only variable Solution 1 Solution 2 Solution 1 A variable declared as read-only can not be modified during outgoing...
Aug 13, 2009Operating Systems > Linux > Shell > Bash
Secretly enter a password within console
Secretly enter a password within console Here is a simple method on how to limit the use of a specific command (as to prevent the...
Aug  7, 2009Operating Systems > Linux > Shell > Bash
Recover result of command in a variable
Recover result of command in a variable For specific reason, it is necessary to recover the result of a command (or back code) in...
Aug  7, 2009Operating Systems > Linux > Shell > Bash
Creating an empty file
Creating an empty file To create an empty file, type the following command: > file You can also use the touch command: touch file
Aug  6, 2009Operating Systems > Linux > Shell > Bash
Changing password via a script
Changing password via a script Method 1: passwd Method 2: chpasswd Method 1: passwd Conventionally the command use to change password...
Aug  4, 2009Operating Systems > Linux > Shell > Bash
Closing session- Quick log out
Closing session- Quick log out The fastest way to log out from your session is to press CTRL+D to close the session. This short key is...
Jul 17, 2009Operating Systems > Linux > Shell > Bash
[Bash]Parameters
[Bash]Parameters Intro Example 1 Example 2 Initialize parameters Examples Example 3 Intro You can provide a script on the command line...
Jul 17, 2009Operating Systems > Linux > Shell > Bash
How to read a file line by line
How to read a file line by line Intro Tips Bonus Intro One of the most common errors of learning scripts bash on GNU / Linux is to read...
Feb 22, 2009Operating Systems > Linux > Shell > Bash
Displaying a file without Commentary lines
Displaying a file without Commentary lines Grep Sed Perl It may be needed to view a file without displaying the numerous commentary...
Dec 28, 2008Operating Systems > Linux > Shell > Bash
Unable to delete file: Argument list too long
Unable to delete file: Argument list too long Solutions Xargs Command find loop for (bash) Program Perl When trying to delete a file ,...
Dec  2, 2008Operating Systems > Linux > Shell > Bash