什么手机游戏能作弊器:Ubuntu简洁update--upgrade--autoclean--autoremove命令
来源:百度文库 编辑:中财网 时间:2024/05/11 04:19:45
为了节省自己的时间,用了下面几个小技巧
Step 1 ----------------------------------------------------------------------
$vi update.sh
and paste these command into "update" file(没有前面的行号)
#!/bin/sh
sudo apt-get upgrade
sudo apt-get update
sudo apt-get autoclean
sudo apt-get autoremove
echo "Done with upgrade--update--autoclean--autoremove"
保存退出
Step 2 ----------------------------------------------------------------------
$chmod +x update.sh
Step 3 ----------------------------------------------------------------------
$sudo mv update.sh /usr/bin/
Step 4 ----------------------------------------------------------------------
$sudo gedit ~/.bashrc
and add the line alias update='sh /usr/bin/update.sh'
save and exit.
从此以后,自己要搞什么小动作,升级之类的,只要输入update就可以了。吼吼
Step 1 ----------------------------------------------------------------------
$vi update.sh
and paste these command into "update" file(没有前面的行号)
#!/bin/sh
sudo apt-get upgrade
sudo apt-get update
sudo apt-get autoclean
sudo apt-get autoremove
echo "Done with upgrade--update--autoclean--autoremove"
保存退出
Step 2 ----------------------------------------------------------------------
$chmod +x update.sh
Step 3 ----------------------------------------------------------------------
$sudo mv update.sh /usr/bin/
Step 4 ----------------------------------------------------------------------
$sudo gedit ~/.bashrc
and add the line alias update='sh /usr/bin/update.sh'
save and exit.
从此以后,自己要搞什么小动作,升级之类的,只要输入update就可以了。吼吼
ubuntu如何开启telnet
ubuntu如何开启telnet
ubuntu的问题
如何卸载ubuntu系统??
最小化安装Ubuntu?
Ubuntu这个词怎么读?
ubuntu中文的问题
man中文帮助ubuntu
如何删除ubuntu Linux?
删除linux系统(Ubuntu)
安装Ubuntu失败后
ubuntu上网问题!急
ubuntu 操作系统如何安装?
linux(ubuntu)下装windows
急!!ubuntu linux问题
简洁网页
简洁芭蕾舞
史玉柱简洁
ubuntu上怎么安装Xwindow
slackware ubuntu debian 的问题
Ubuntu Linux 是中文版吗?
Ubuntu中关于make命令
ubuntu 6.06 有中文版吗?
ubuntu-6.06-alternate-amd64驱动程序