Clear/erase terminal
Removes content of current terminal
very very slowly
Removes content of current terminal
This can be enabled in paprefs: Start paprefs and enable virtual output, it will send sound to all devices simultaneously, then restart pulseaudio for changes to take effect:
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
NFS Server Display current NFS shares on server: Edit server NFS configuration: Share example: Export “NFS table” (this is necessary after NFS edit) : Restarts NFS to apply changes: NFS Client Share mounting examples: terminal: fstab:
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)
Edit fstab: Mount disk: Different partitions types: ext4, ext2, ext3, reiserfs, xfs, jfs, smbfs, iso9660, vfat, ntfs, swap, auto Mount nfs share: Mount samba share: share.name NOT dir.name! “Reloads” fstab for changes to take effect:
Login: List databases: Delete database: Make new database: Make new user: List users: Delete user: Gives all rights to user over a certain database (replace database.name with * for all databases): Refreshes privileges, a must after a change: Lists user rights: Exports (dumps) the database: Shows original (exported) database name: Imports dump of some database … Read moreMYSQL
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