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 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 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 ...