Update create-swap.sh
parent
1856495a9f
commit
5660e39c6e
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue