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: 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 -a equals to use of following options -rlptgoD recursively copy files and directories copy symlinks as symlinks preserve permissions preserve group preserve modification … 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: Removes the crontab file: Time format in crontab * * … 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