随笔分类 -  Linux

摘要:Ubuntu的基本操作 查看操作系统版本 https://www.hostingadvice.com/how-to/ubuntu-show-version/ clu@sha01vmdev08:~/source/github$ lsb_release -aNo LSB modules are avai 阅读全文
posted @ 2019-05-16 16:12 ChuckLu 阅读(312) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2019-03-21 18:15 ChuckLu 阅读(3416) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/caolisong/archive/2007/04/25/726896.html nohup /mnt/Nand3/H2000G >/dev/null 2>&1 & 对于& 1 更准确的说应该是文件描述符 1,而1 一般代表的就是STDOUT_FILEN 阅读全文
posted @ 2017-09-27 17:46 ChuckLu 阅读(327) 评论(0) 推荐(0) 编辑
摘要:Linux https://www.shellhacks.com/linux-check-change-file-encoding/ 显示 在某一个目录下,直接执行file * $ file *chucklu.autoend.js: HTML document, UTF-8 Unicode text 阅读全文
posted @ 2017-05-18 18:05 ChuckLu 阅读(6182) 评论(0) 推荐(0) 编辑
摘要:ls -al 文件类型 阅读全文
posted @ 2017-05-13 18:31 ChuckLu 阅读(423) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2017-02-23 10:11 ChuckLu 阅读(267) 评论(0) 推荐(0) 编辑
摘要:[root@localhost sasl2]# postconf -d | grep mail_versionmail_version = 2.10.1milter_macro_v = mailnamemail_version [root@localhost sasl2]# rpm -qa 阅读全文
posted @ 2016-10-04 15:45 ChuckLu 阅读(3372) 评论(0) 推荐(0) 编辑
摘要:[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 阅读全文
posted @ 2016-10-03 16:45 ChuckLu 阅读(1307) 评论(0) 推荐(0) 编辑
摘要:在我们使用虚拟机管理器的图形界面来安装虚拟机的时候,自动创建虚拟网桥和虚拟网卡。另外,我们很少会在一个虚拟机中再安装一个虚拟机,所以,我们可以将宿主机上的网桥删除。方法如下: 移除之后,需要自己再添加网络 #nm-connection-editor http://unix.stackexchange 阅读全文
posted @ 2016-10-03 12:52 ChuckLu 阅读(456) 评论(0) 推荐(0) 编辑
摘要: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/ # 阅读全文
posted @ 2016-10-03 12:17 ChuckLu 阅读(231) 评论(0) 推荐(0) 编辑
摘要:1. 在安装的时候,不要用默认的最小安装。选择GNOME Desktop 2.自动分区的时候,选择自己进行分区 2个分区,1个大小为1024M的swap分区,剩下的分配一个ext3的分区。设备类型都选择标准分区 3.网络默认是关闭的,点进去之后,自己打开。然后会自动获取ip 启动之后: http:/ 阅读全文
posted @ 2016-10-03 08:49 ChuckLu 阅读(441) 评论(0) 推荐(0) 编辑
摘要:mkdir /mnt/cdrom 首先创建一个文件夹mount /dev/cdrom /mnt/cdrom 然后挂载 这样的话,就可以看到 /mnt/cdrom文件夹下有文件了 ls /mnt/cdrom 切换到tmp文件夹 cd /tmp 解压文件 tar zxvf /mntrom/VMwareT 阅读全文
posted @ 2016-05-27 16:09 ChuckLu 阅读(429) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2016-02-10 23:17 ChuckLu 阅读(281) 评论(0) 推荐(0) 编辑
摘要:先调用这个 export GIT_SSL_NO_VERIFY=true 之后再执行git clone 阅读全文
posted @ 2015-10-18 22:43 ChuckLu 阅读(476) 评论(0) 推荐(0) 编辑
摘要:当前使用root账户[root@localhost chucklu]# cd[root@localhost ~]# pwd/root切换到普通账户[root@localhost ~]# su chucklu[chucklu@localhost root]$ pwd/root[chucklu@loca... 阅读全文
posted @ 2015-10-18 22:35 ChuckLu 阅读(317) 评论(0) 推荐(0) 编辑
摘要:rm -rf 文件夹的名称rm-r 文件名称 阅读全文
posted @ 2015-10-18 22:25 ChuckLu 阅读(384) 评论(0) 推荐(0) 编辑
摘要:http://wenku.baidu.com/link?url=PDpw0nuLm71kihyYWdGY2niJhQEsJXfu8NVbjy9RxLa-Zur3aoG4NkCFpD-GQKM_sQWNB7Xi3SOiCi8ukRC0beIVClqGtkuoCCwYfmXwnwC[root@local... 阅读全文
posted @ 2015-10-18 22:23 ChuckLu 阅读(755) 评论(0) 推荐(0) 编辑
摘要:1.首先查看下当前的版本[root@localhost ~]# git --versiongit version 1.8.2.12.尝试进行升级[root@localhost ~]# yum update gitLoaded plugins: fastestmirrorLoading mirror ... 阅读全文
posted @ 2015-10-18 21:00 ChuckLu 阅读(2724) 评论(0) 推荐(0) 编辑
摘要:1.尝试用yum安装git失败[root@localhost usr]# yum install gitLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile* addons: mirrors.aliyun.co... 阅读全文
posted @ 2015-10-18 20:39 ChuckLu 阅读(638) 评论(0) 推荐(0) 编辑
摘要:1.查看版本http://jingyan.baidu.com/article/215817f7e360bd1edb142362.html[root@localhost usr]# lsb_release -aLSB Version: :core-3.1-amd64:core-3.1-ia32:... 阅读全文
posted @ 2015-10-18 20:38 ChuckLu 阅读(313) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示