加载中
ubuntu shell脚本开机自动运行的方法

只需编辑/etc/init.d/rc.local文件,在最后加上你的脚本即可。 比如:我已经编写了一个脚本shell.sh,存放在/home/mars704/Desktop/ 下面 在终端输入 gedit /etc/init.d/rc.local编辑文件,在...

2013/01/15 14:34
7.2K
查看ubuntu的版本的命令

使用 lsb_release 命令也可以查看 Ubuntu 的版本号,与方法一相比,内容更为详细。执行指令如下:   sudo lsb_release -a

2013/01/14 15:50
156
ubuntu server 更换源

ubuntu server 更换源 记下源地址下载的链接 http://forum.ubuntu.com.cn/viewtopic.php?f=124&t=222126&start=0...

2013/01/14 15:07
301
ubuntu切换bash,修改bash

在ubuntu下创建用户,登陆后,发现用的是sh,很不方面,很晕,找了一个 sudo dpkg-reconfigure dash 这个命令很管用,试试

2013/01/14 14:30
304
ubuntu 添加管理员权限

如果需要让此用户有root权限,执行命令: root@ubuntu :~# sudo vim /etc/sudoers

2013/01/14 13:07
216
svn 提交时 文件夹 missing 问题的解决

>svn co svn://localhost/ ./ >svn mkdir tag >rm -rf tag >svn ci svn: 提交失败(细节见下): svn: Directory '/home/usr/svncheckout/tag' is missing 引用http://stackoverf...

2013/01/10 14:18
7.6K
ubuntu系统创建新用户「添加ROOT权限」「配置」「不能使用TAB键解决」

一、新建用户 www.2cto.com adduser 新建用户的名字 passwd 新建用户的名字即可添加新用户 二、创建家目录 # cd /home 1.创建家目录: # mkdir 新建用户的名字 2.拷贝环境变量模板文件: # ...

2012/12/19 14:37
252
ubuntu Installation QScintilla2(ubuntu 安装QScint...

Installation As supplied QScintilla will be built as a shared library/DLL and installed in the same directories as the Qt libraries and include files. If you want to change the ...

2012/10/07 13:44
1K
没有安装中文 匹配失败啊

悲剧啊: sudo apt-get install language-pack-zh

2012/09/04 00:27
41
使用ubuntu 10.04中的中文乱码问题解决

1、ibus输入法 Ubuntu 系统安装后已经自带了ibus输入法,在英语环境下默认不启动。 配置ibus自动启动可以在ubuntu系统菜单上选择System --- Preferences --- Startup Applications,在该窗口...

2012/08/25 18:01
281
term.h: No such file or directory, curses.h: No...

Linux Errors: Under Linux environment, some errors have been found: term.h: No such file or directory and curses.h: No such file or directory Solution: we need ncurses lib. type...

2012/08/19 20:16
1.2K
shell日志切割

shell日志切割 #!/bin/sh #filename=log.sh log_path="" #日志记录的目录地址 log_file="test.log" #默认日志文件名称 log_path_new=${log_path}$(date +%Y)/$(date +%m)/ sudo mkdir -p ${l...

2012/08/18 16:12
338
Eclipse支持PHP

Eclipse支持PHP使用Zend Debugger调试 一、安装Eclipse 下载地址为http://www.eclipse.org/downloads/ 上面有好多个版本,通过Compare Packages科研看到其中的区别。开发PHP的话,Eclipse I...

2012/08/16 12:38
1.8K
dpkg:处理 xxx (--configure)时出错解决办法

安装java的时候出现:dpkg:处理 oracle-java7-installer (--configure)时出错: 子进程 已安装 post-ins, 然后在网上找到了这片文章,按步骤走就解决了,中间会提示自动卸载一下,执行那个命...

2012/08/09 22:43
2.2K
修改ubuntu系统时间

如果你本地时间还不准确的话,可以这样修改: shell>sudo date -s MM/DD/YY shell>sudo date -s hh:mm:ss shell>sudo /etc/init.d/hwclock.sh restart #将修改后的正确时间写入cmos...

2012/08/05 12:10
413
eclipse 安装PyDev

插件的详细地址 http://pydev.org/download.html 只要知道这个详细地址,一切搞定,ok!!!

2012/07/17 21:25
138
shell 记录music的小程序

#!/bin/sh menu_choice="" current_cd="" title_file="title.cdb" tracks_file="tracks.cdb" temp_file=/tmp/cdb.$$ trap 'rm -f $temp_file' EXIT get_return(){   echo -e "Press return \...

2012/07/15 18:47
173
shell 输入框 加 选择框 信息提示

#!/bin/sh dialog --title "Questionnaire" --inputbox "Please enter your name" 9 30 2>_1.txt Q_NAME=$(cat _1.txt) dialog --menu "$Q_NAME, what music do you like best?" 15 30 4 1 ...

2012/07/15 17:18
446

没有更多内容

加载失败,请刷新页面

返回顶部
顶部