随笔分类 - Linux
摘要:Ubuntu的基本操作 查看操作系统版本 https://www.hostingadvice.com/how-to/ubuntu-show-version/ clu@sha01vmdev08:~/source/github$ lsb_release -aNo LSB modules are avai
阅读全文
摘要:https://unix.stackexchange.com/questions/288521/with-the-linux-cat-command-how-do-i-show-only-certain-lines-by-number To print one line (5) To print m
阅读全文
摘要:http://www.cnblogs.com/caolisong/archive/2007/04/25/726896.html nohup /mnt/Nand3/H2000G >/dev/null 2>&1 & 对于& 1 更准确的说应该是文件描述符 1,而1 一般代表的就是STDOUT_FILEN
阅读全文
摘要:Linux https://www.shellhacks.com/linux-check-change-file-encoding/ 显示 在某一个目录下,直接执行file * $ file *chucklu.autoend.js: HTML document, UTF-8 Unicode text
阅读全文
摘要:A little understanding of how *nix pipes work would help. In short the '>>' pipe operator will append lines to the end of the specified file, where-as
阅读全文
摘要:[root@localhost sasl2]# postconf -d | grep mail_versionmail_version = 2.10.1milter_macro_v = mail_version [root@localhost sasl2]# rpm -qa
阅读全文
摘要:[root@localhost Desktop]# ps auxUSER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMANDroot 1 0.0 0.3 192096 7456 ? Ss 03:03 0:03 /usr/lib/systemd/syst
阅读全文
摘要:在我们使用虚拟机管理器的图形界面来安装虚拟机的时候,自动创建虚拟网桥和虚拟网卡。另外,我们很少会在一个虚拟机中再安装一个虚拟机,所以,我们可以将宿主机上的网桥删除。方法如下: 移除之后,需要自己再添加网络 #nm-connection-editor http://unix.stackexchange
阅读全文
摘要:http://www.cnblogs.com/mchina/archive/2013/01/04/2842275.html 四、配置本地yum源 1、挂载系统安装光盘 # mount /dev/cdrom /mnt/cdrom/ 2、配置本地yum源 # cd /etc/yum.repos.d/ #
阅读全文
摘要:1. 在安装的时候,不要用默认的最小安装。选择GNOME Desktop 2.自动分区的时候,选择自己进行分区 2个分区,1个大小为1024M的swap分区,剩下的分配一个ext3的分区。设备类型都选择标准分区 3.网络默认是关闭的,点进去之后,自己打开。然后会自动获取ip 启动之后: http:/
阅读全文
摘要:mkdir /mnt/cdrom 首先创建一个文件夹mount /dev/cdrom /mnt/cdrom 然后挂载 这样的话,就可以看到 /mnt/cdrom文件夹下有文件了 ls /mnt/cdrom 切换到tmp文件夹 cd /tmp 解压文件 tar zxvf /mntrom/VMwareT
阅读全文
摘要:uudecode is in the package sharutils Install it with the package manager or start a terminal and type this command sudo apt-get install sharutils 发现Ce
阅读全文
摘要:先调用这个 export GIT_SSL_NO_VERIFY=true 之后再执行git clone
阅读全文
摘要:当前使用root账户[root@localhost chucklu]# cd[root@localhost ~]# pwd/root切换到普通账户[root@localhost ~]# su chucklu[chucklu@localhost root]$ pwd/root[chucklu@loca...
阅读全文
摘要:rm -rf 文件夹的名称rm-r 文件名称
阅读全文
摘要:http://wenku.baidu.com/link?url=PDpw0nuLm71kihyYWdGY2niJhQEsJXfu8NVbjy9RxLa-Zur3aoG4NkCFpD-GQKM_sQWNB7Xi3SOiCi8ukRC0beIVClqGtkuoCCwYfmXwnwC[root@local...
阅读全文
摘要:1.首先查看下当前的版本[root@localhost ~]# git --versiongit version 1.8.2.12.尝试进行升级[root@localhost ~]# yum update gitLoaded plugins: fastestmirrorLoading mirror ...
阅读全文
摘要:1.尝试用yum安装git失败[root@localhost usr]# yum install gitLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile* addons: mirrors.aliyun.co...
阅读全文
摘要:1.查看版本http://jingyan.baidu.com/article/215817f7e360bd1edb142362.html[root@localhost usr]# lsb_release -aLSB Version: :core-3.1-amd64:core-3.1-ia32:...
阅读全文