Update create-swap.sh

main
yanglc 2021-06-21 04:19:17 +08:00 committed by GitHub
parent 1856495a9f
commit 5660e39c6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,12 @@
#!/usr/bin/env bash #!/usr/bin/env bash
RED_COLOR="\033[0;31m"
NO_COLOR="\033[0m"
GREEN="\033[32m\033[01m"
BLUE="\033[0;36m"
FUCHSIA="\033[0;35m"
echo "export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin:$PATH" >> ~/.bashrc
source ~/.bashrc
sleep 3
echo "Creat-SWAP by yanglc" echo "Creat-SWAP by yanglc"
echo "本脚本仅在ubuntu下进行过测试" echo "本脚本仅在ubuntu下进行过测试"
get_char() get_char()