Alias commands in Ubuntu
To create alias commands you need to edit this file:
sudo nano ~/.bash_aliases
Enter a command in the style of:
alias new_name='old_command'
For example:
alias install='sudo apt-get install'
To create alias commands you need to edit this file:
sudo nano ~/.bash_aliases
Enter a command in the style of:
alias new_name='old_command'
For example:
alias install='sudo apt-get install'
Run the update command to refresh the repos: sudo apt update Pull any upgradeable packages: apt list --upgradable Install any outstanding updates: sudo apt upgrade -y Reboot server so its clean: sudo reboot Once the server is back up run the above again to catch any additional entries. Snapshot/backup
By default these limits are 50GB. To increase these to 100GB modify/create a GPO to set the following values: User Configuration-> Administrative Templates-> Microsoft Outlook -> Miscellaneous-> PST Settings The following 2 settings need to be modified: - Large PST: Absolute maximum size: 100000 -
Resize partition: sudo cfdisk Select the physical volume and resize and write before you exit. Extend PV physical volume: sudo pvresize /dev/sda3 Find the logical volume (LV Path): sudo lvdisplay Extend logical volume: lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv Get the name your LVM path: (e.g. /dev/
Edit your crontab list: sudo crontab -e Select your preferred editor (if you are prompted). Then add the following file at the bottom: @reboot python /home/usera/myscript.py Make sure the script is executable: sudo chmod a+x /home/usera/myscript.py