参考:http://blog.sina.com.cn/s/blog_b71132f001016cmm.html ubuntu的终端命令行默认是长路径,即把路径深度全部显示出来,操作起来不是很方便,下面介绍命令行显示短路径的操作: $ vi ~/.bashrc 找到PS1= 的行,将\w(小写)改成\W(大写) if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01
Today I run ubuntu docker image on powershell and find the directory color is blue, so I want to change it. Step 1: set ubuntu proxy: export http_proxy=http://xx:80 not http_proxy=xx:80 otherwise it will give error export https_proxy=https://xx:80 St
mac 配色 mac shell配色 ~/.bash_profile是bash shell中当前登录用户的配置文件.bash是“终端”中默认的shell. alias ls=”ls -G”是给”ls -G”起了一个别名,当执行ls时,就相当于执行了ls -G. CLICOLOR是用来设置是否进行颜色的显示.CLI是Command Line Interface的缩写. LSCOLORS是用来设置当CLICOLOR被启用后,各种文件类型的颜色.LSCOLORS的值中每两个字母为一组,分别设置某个文
Not all of the shortcuts are useful.Only remeber the most useful. 移动类Ctrl + a - Jump to the start of the line //跳到行首Ctrl + e - Jump to the end of the line //跳到行尾Alt + b - Move backward //向前移动(一个单词)Alt + f - Move forward
There is some notes while I am learning Ubuntu Operate System! (Ask Ubuntu) 1-- Hard link : ln command have different parm. Hard link means that the two files is connect together for backup the original files.If you edit any of the two files , it wil
Linux Terminal命令 1.Ctrl + a 回到命令行の「行首/head」. 2.Ctrl + e 回到命令行の「行尾/tail」, ctrl + end. 3.Ctrl + w 後向/backward 刪除一個單詞, ctrl + word. 4.Ctrl + u cut from the head to current cursor 5.Ctrl + k kill from current cursor to the tail 6.Ctrl + y yank a copy fro
There is some notes while I am learning Ubuntu Operate System! (Ask Ubuntu & Fedora) 1-- Hard link : ln command have different parm. Hard link means that the two files is connect together for backup the original files.If you edit any of the two files
Linux 下安装reids 下载地址:http://redis.io/download,下载最新稳定版本. 本教程使用的最新文档版本为 2.8.17,下载并安装: $ wget http://download.redis.io/releases/redis-2.8.17.tar.gz $ tar xzf redis-2.8.17.tar.gz $ cd redis-2.8.17 $ make make完后 redis-2.8.17目录下会出现编译后的redis服务程序redis-server,
How To Uninstall Software Using The Ubuntu Command Line Uninstall Ubuntu Software Using The Terminal. The Ubuntu terminal will give you the ultimate control for uninstalling software. In most cases using "Ubuntu Software" and "Synaptic"