testing ubuntu essentials

This commit is contained in:
2024-04-04 10:49:44 -05:00
parent 8f3dca232c
commit 0c2aeb1b7b
2 changed files with 250 additions and 55 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
if [ "$EUID" -ne 0 ]
then
echo "Please run as root"
@@ -128,8 +129,6 @@ echo "# custom settings and aliases" >> /etc/bash.bashrc
echo "set -o noclobber" >> /etc/bash.bashrc
echo "alias lsa='ls -alhvF'" >> /etc/bash.bashrc
echo "alias cd..='cd ..'" >> /etc/bash.bashrc
echo "alias ..='cd ..'" >> /etc/bash.bashrc
echo "alias ...='cd ../..'" >> /etc/bash.bashrc
echo "alias grep='grep --color'" >> /etc/bash.bashrc
echo "alias si='sudo -i'" >> /etc/bash.bashrc
echo "alias mkdir='mkdir -pv'" >> /etc/bash.bashrc