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
Install Fdupes: Search for duplicate files in directory: Recursive search in all sub-directories: Delete duplicate files in directory: Recursively delete duplicate files in all sub-directories:
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
Create archive from directory or a single file: tar -czvf archive.name.tar.gz /target.dir Extracts archive: tar xzvf archive.name.tar.gz Extracts archive in target directory: tar xzvf archive.name.tar.gz -C /target.dir