下载的最新的Ubuntu版本,11.10桌面版本, 折腾了半天,一直找不到命令行方式? 不会用图形方式啊。 baidu无果,google也无果! 快崩溃了!
本帖最后由 章鱼的腿 于 2013-05-29 11:28 编辑 有两个文件,内容分别如下[code]This is output: out1: Yes, this is out1. out2: Yes, this is out2. out3: Yes, this is out3. This is input: input1: yes, this is input1. input2: yes, this is input2. input3: yes, this is input3.[/code][code]This is output: out1: Yes, this is out1. out3: Yes, this is out3. out2: Yes, this is out2. This is input: input2: ye...
1. 配置p4config P4PORT=ip:port P4USER= P4CLIENT= P4PASSWD= export P4PORT P4USER P4CLIENT P4PASSWD 运行:. ./p4config 2. 登录 p4 login 3. 同步 p4 sync 对应于get last version 参数 -f 强制更新所有 //{workspace名称}/{目录名称}/... 文件目录及子目录下所有文件。 4. 客户端 p4 client 对应于view workspce 可以修改主机名称,本地的目录名称,目录映射关系(view)等。 本文来自ChinaUnix博客,如果查看原文请点:...
1. 查找特定后缀 $ find /path -name "*.iso" 2.查找特定大小 $ find ./ -size +4M 3. 联合查找 $ find ./ -size +4M -exec ls -ahl {} \; 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/1120/showart_2124076.html
sunfengxi@sunfengxi-laptop:~$ history ... 131 cd programming/ 132 ls 133 vim shangji1.c 134 cp shangji1.c ~/experiment/suanfa/1/ 135 cd .. 136 ls 137 rm p4-2.c 如果想重新执行 cp shangji1.c ~/experiment/suanfa/1/ 只要用下面的命令 :~$ !134 这个对于短命令没什麽帮助,但是对于长命令就很有帮助了。 如果你感兴趣,可以用用。 这是我偶然在网上看到的,自己试了试,挺好用的。 还有...
1. 查找空目录 $ find /path -depth -type d -empty 2. 查找空文件 $ find /path -depth -type f -empty 3. 指定文件名查找 $ find /path -name name_of_file 4. 指定扩展名查找 $ find /path -name "*.given_extension" 5. 指定权限查找 $ find /path -perm -permision_bits 6. 指定修改时间查找 $ find /path -mtime n 0 for the last 24 hours1 for the last 48 hours2 for the last 72 hours7. 指定访问时间...
小弟将/etc/inittab中的id:5:initdefult:变更为id:3:initdefult:但是为什么linux 反而是以X-Window启动的呢?请诸位兄弟告知。谢谢。5不应该是X11模式么?为何我改回5模式就是文本模式呢?奇怪。 [ 本帖最后由 gumingtianya 于 2009-9-4 10:11 编辑 ]
1. 连接mysql: mysqlbinmysql -h主机地址 -u 用户名 -p 用户密码 2.退出mysql:exit 3. 修改密码: mysqlbinmysqladmin -uroot -p(oldpassword) password newpassword 4.增加用户: 添加一个用户test1 密码为ABC;让他可以在任何主机上登录,并对所有数据库有查询、插入、修改、删除的权限。首先用以root用户连入 mysql,然后键入以下命令:grant select,insert,update,delete on *.* to test1@"%" Identified by "abc"; 增加一个用...