commit
f53f92aec0
|
@ -1,13 +0,0 @@
|
|||
# ---> AL
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
*.code-workspace
|
||||
|
||||
# Local History for Visual Studio Code
|
||||
.history/
|
||||
*.app
|
||||
.snapshots/*
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) <2023> <Pardesi_Cat(https://PardesiCat.xyz)>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
33
README.md
33
README.md
|
@ -1,25 +1,28 @@
|
|||
# LinuxUpdatescript
|
||||
## Linux Update script
|
||||
|
||||
A bash script writted by [Pardesi Cat ](https://pardesicat.xyz)for easy update/upgrade the linux system
|
||||
|
||||
![](https://cloud.pardesicat.xyz/s/86yCXsCLq8CFcjP/download/ssgit.png)
|
||||
Linux Bash script for auto update in Debian Based distro + server
|
||||
|
||||
## **To use this script simply follow these steps**
|
||||
|
||||
a bash script writted by pardesi cat for easy update system
|
||||
1. <u>Clone the update script from my selfhost git server</u>
|
||||
|
||||
```copy
|
||||
git clone https://git.pardesicat.xyz/pardesicat/PardesiScript.git
|
||||
```
|
||||
|
||||
**Linux Bash script for auto update**
|
||||
2. <u>Goto that directory</u>
|
||||
|
||||
To use this script simply clone the git or download zip to clone
|
||||
```copy
|
||||
cd PardesiScript
|
||||
```
|
||||
|
||||
3. <u>Run the bash script</u>
|
||||
|
||||
```copy
|
||||
bash pardesicat.sh
|
||||
```
|
||||
|
||||
`git clone https://git.pardesicat.xyz/catboii/LinuxUpdatescript.git`
|
||||
|
||||
|
||||
`cd LinuxUpdatescript`
|
||||
|
||||
|
||||
` bash pardesicat.sh`
|
||||
|
||||
|
||||
> Note: SCipt will only work for debian based distros (mainly **apt** package managers)
|
||||
> [!Attention]
|
||||
> Script will only work for debian based distros (mainly with apt package managers)
|
|
@ -2,20 +2,31 @@
|
|||
|
||||
echo "---------------------------------------------------"
|
||||
echo "| |"
|
||||
echo "| Namaste : $(whoami) |"
|
||||
echo " Namaste : $(whoami) "
|
||||
echo "| |"
|
||||
echo "--------------------------------------------------"
|
||||
|
||||
sleep 2
|
||||
|
||||
echo "--------------------------------------------------"
|
||||
echo " This is simple Bash script written by Pardesicat "
|
||||
echo " To update and clean ur system single cmd "
|
||||
echo "--------------------------------------------------"
|
||||
|
||||
sleep 5
|
||||
echo " checking Your system Info "
|
||||
sleep 2
|
||||
echo "========================================================================"
|
||||
uname -a
|
||||
echo "========================================================================"
|
||||
sleep 5
|
||||
|
||||
sleep 5
|
||||
|
||||
echo "starting.........................................."
|
||||
|
||||
sleep 2
|
||||
|
||||
echo
|
||||
|
||||
echo -e "\e[1;32m Step 1: Updating packages \e[0m"
|
||||
sudo apt update
|
||||
|
@ -38,8 +49,12 @@ sudo apt clean -y
|
|||
sudo apt autoclean -y
|
||||
sudo apt autoremove -y
|
||||
|
||||
sleep 5
|
||||
|
||||
echo "--------------------------------------------------"
|
||||
echo " : ....Done.... : "
|
||||
echo "--------------------------------------------------"
|
||||
|
||||
sleep 5
|
||||
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue