Linux
文章平均质量分 79
bazingaz
这个作者很懒,什么都没留下…
展开
-
Vim putty
开启新窗口 :sp [filename] 按住ctrl 再按w 放开所有键 再按 j k q为退出原创 2013-11-05 21:26:40 · 1126 阅读 · 0 评论 -
Ubuntu默认启动到字符界面
原来要想默认不进入xwindows,只需编辑文件”/etc/default/grub”, 把 GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” 改成GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash text” (即在GRUB_CMDLINE_LINUX_DEFAULT项的后面加上” text”), 然后再运行”sudo up转载 2013-11-02 15:06:50 · 644 阅读 · 0 评论 -
Shell
# !告诉系统同一行上紧跟在他后面的那个参数是用来执行本文件的程序 chmod +x first ./first 把脚本的完整路径告诉shell 在shell的环境变量中没有当前目录 chmod u=rwx,go=rx /usr/bin/first原创 2013-11-06 10:52:29 · 618 阅读 · 0 评论 -
Linux命令
chgrp users a.txt chown user1 a.txt chmod -r 770 a.txt chmod u=rwx,go=rx .bashrc cd 是 Change Directory pwd 是 Print Working Directory 癿缩写原创 2013-11-05 11:27:06 · 495 阅读 · 0 评论 -
shell 赋值
No space permitted on either side of = sign when initializing variables. # What happens if there is a space? # "VARIABLE =value" #% Script tries to run "VARIABLE" command with one argument, "=value原创 2014-02-25 09:33:33 · 498 阅读 · 0 评论