Compare commits

...

2 Commits

Author SHA1 Message Date
Pardesi_Cat f093609a66 Merge pull request 'added more work' (#3) from colour into main
Reviewed-on: #3
2023-06-04 12:10:43 +00:00
Pardesi_Cat 460be5f0d2
added more work 2023-06-04 17:39:22 +05:30
1 changed files with 19 additions and 6 deletions

View File

@ -3,18 +3,28 @@
APT="/usr/bin/apt" APT="/usr/bin/apt"
RED='\e[31m'
BLUE='\e[34m'
PURPLE='\e[35m'
REDB='\e[1;31m'
os () {
cat /etc/os-release
}
cat catboii cat catboii
sleep 5 sleep 5
if [ -f "$APT" ] ; then if [ -f "$APT" ] ; then
echo -e "your on debian type system with apt" echo -e "${BLUE}your on debian type system with apt"
echo -e "starting" echo -e "${BLUE}starting"
echo "-------------------------------------------------" echo "-------------------------------------------------"
echo "| |" echo "| |"
echo " Namaste : $(whoami) " echo " Namaste : ${PURPLE}$(whoami) "
echo "| |" echo "| |"
echo "--------------------------------------------------" echo "--------------------------------------------------"
sleep 2 sleep 2
@ -28,7 +38,7 @@ sleep 5
echo " checking Your system Info " echo " checking Your system Info "
sleep 2 sleep 2
echo "========================================================================" echo "========================================================================"
uname -a ${PURPLE}uname -a
echo "========================================================================" echo "========================================================================"
sleep 5 sleep 5
@ -71,8 +81,11 @@ sleep 5
exit exit
else else
echo -e "your on other system" echo -e "${PURPLE}your on other system"
echo -e "closing script" echo -e "__________________________________"
os
echo -e "__________________________________"
echo -e "${REDB}closing script"
exit 0 exit 0