Rename
Install rename tool: To batch rename files in a dir, changing the extension: this example, renames all extensions from jpg_160x120 to jpg
very very slowly
Install rename tool: To batch rename files in a dir, changing the extension: this example, renames all extensions from jpg_160x120 to jpg
Fdupes is a small and fast utility for finding duplicate files and deleting them. Install the app: This example is very dangerous, DO NOT try it first, since it will erase all duplicates without asking, and potentially you could loose other files, this is JUST an example: In this example, swith r is for recursive, … Read moreDuplicate files – find & delete – fdupes
Very simple tool for killing windows Just type xkill in terminal and click on a window that needs to be terminated, nice but there’s a catch. Xkill kills only the window (X Window System) not the process it self, however many apps terminate when their window is closed.
Current time zone info: List available time zones: Europe/Belgrade Europe/Berlin Europe/Brussels Europe/Bucharest Europe/Budapest Europe/Chisinau Europe/Copenhagen Europe/Dublin Set your timezone Another way to set time zone Unlink localtime file: Seting local timezone: To set the timezone this way you must unlink localtime file.
Dynamic real-time view of processes: Search processes by name: List processes by user: Scroll the process list vertically and horizontally and search & kill processes: (apt install htop) Kill process by name without allowing process to do cleanup or restart Kill process by PID without allowing process to do cleanup or restart
Samba provides file and print services on Linux for Windows computers. To install Samba: The configuration file for Samba is located at /etc/samba/smb.conf, edit samba configuration: Share example: Password protected share example: System user’s password must be added to Samba: For changes to take effect, you must restart samba: (stop, start)
Copies files from a source to destination. Syncs directories without copying already existing files and updating modified files. Works over SSH. remote -> local: local -> local: local -> remote: Options/flags: -a equals to use of following options -rlptgoD (basically -a options makes rsync a fully fledged backup tool) –delete deletes files from the destination … Read moreRsync
Crontab is a file containing instructions for the cron daemon. It is a job scheduler where you add commands to be executed at defined periods. Edit existing crontab file, or make new one if it doesn’t exist: List of cronjobs , display crontab file contents: Reload crontab: (not necessary since the system will check periodically … Read moreCrontab
Screen tool is very useful if you need to disconnect from remote server, or you have a shaky connection that tends to drop but the started process on remote server needs to continue. You can reconnect later and any process started in screen session continues while you are disconnected. You are able to resume that … Read moreScreen
Sets Access Control Lists (ACLs) – adds permissions to files and directories for a user that is not a member of a group owning them. Install ACL tools Gives a read permission to user for target directory and sub directories and files, although the target directory is owned by another user: By adding wx parameters, … Read moresetfacl – Set File Access Control List