How can I replace a string of text in multiple files using Perl?
From the desktop, press Alt+F2 to launch the Run Application window. Type: gnome-terminal then press Enter. This will launch a user terminal (similar to Windows command prompt). In the terminal window, type:cd ~then press Enter to change directory into your home directory. Next, we will create ...
How do I change my password via UNIX / Linux Command Line?
For security reasons, UNIX / Linux never displays your password on the screen. If you are not at the terminal screen, please launch ther terminal application. In the terminal window, type: passwd then press Enter. You will be prompted to type you current password for the account. Type your cu ...
How do I change the access permissions for a file or directory using chmod?
The chmod (change mode) command is used to set file and directory permissions in Linux operating systems. The most common use of chmod is to grant or revoke read (r), write (w) or execute (x) permissions for an owner / user (u), a user group (g) or other / anonymous (o) users. Below is a depict ...
How do I change the name of an existing user account in Linux?
From the desktop, press Alt+F2 to launch the Run Application window. Type: gnome-terminal then press Enter. This will launch a user terminal (similar to Windows command prompt). At the terminal prompt, type:su then press Enter. When prompted, type the root (administrator) password then press ...
How do I create / modify a UNIX / Linux Shell Variable?
You may create your own shell variable or you can modify the values assigned to standard shell variables by writing a variable name, followed by an equal (=) sign, followed by the value you want to assign to the variable. For example: myvar=testor MYSYS=UNIX The shell treats the value that you ...
How do I delete all files of a particular extension from a directory and it's sub-directories?
In this article, we will be deleting all .txt files from our target directory and all sub-directories below it. From the desktop, press Alt+F2 to launch the Run Application window. Type: gnome-terminal then press Enter. This will launch a user terminal (similar to Windows command prompt). Navi ...
How do I determine the built-in Shell commands?
You may obtain a full list of the built-in commands by typing the following command line: man shell_builtinsthen pressing Enter.
How do I find out the what current Shell variables are in UNIX/Linux?
You can use the set command to find out what the shell variables are set for you UNIX/Linux shell to use. Using a terminal, type set at the prompt then press Return. The shell will display the list of the variables:
How do I remove a directory and all it's contents, including any sub-directories?
From the desktop, press Alt+F2 to launch the Run Application window. Type: gnome-terminal then press Enter. This will launch a user terminal (similar to Windows command prompt). Navigate to the parent directory that contains the files / directories you wish to remove by typing:cd <directory ...
How do I setup a local Apache / MySQL / PHP web development environment on Linux?
Many solutions are available for a local development environment in Linux. We prefer XAMPP for it's user-friendly installation and configuration. XAMPP also provides up to date versions of Apache / MySQL / PHP / Perl. Download the latest version of XAMPP and follow the step-by-step instructions ...