在 .bash_profile 文件中,增加如下行: 然后,重新加载该配置 问题解决。 ...
分类:
编程语言 时间:
2017-09-09 21:38:23
阅读次数:
142
Mac terminal Javac Open the Terminal's vim , then write them: public class test{ public static void main(String[] args){ System.out.println("test"); } ...
分类:
编程语言 时间:
2017-09-09 16:29:09
阅读次数:
204
在Terminal中查看当前目录下所有文件(包含文件夹)大小: 或者: 第二个命令能在最后显示一个Total大小,即当前目录的总大小。 ...
分类:
系统相关 时间:
2017-09-08 15:29:40
阅读次数:
515
1. 安装 X-Window #yum install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts 2.查看CentOS系统中是否有安装vnc # r ...
docker run指定的命令如果不是那些一直挂起的命令(比如运行top,不断echo),就是会自动退出的。-d命令是设置detach为true,根据官方的文档,意思是让这个命令在后台运行,但并不是一直运行(我们在一个正常的Linux Terminal中运行/bin/bash,运行完了也就完了,不会 ...
分类:
其他好文 时间:
2017-09-07 14:59:46
阅读次数:
156
有时候安装完Ubuntu系统后,打开命令终端,终端显示的主机名格式比较难看,例如 我最近买的国内某云的VPS。 [plain] view plain copy xxx@VM-1560-ubuntu$ xxx@VM-1560-ubuntu$ [plain] view plain copy xxx@VM ...
分类:
系统相关 时间:
2017-09-06 20:45:23
阅读次数:
304
centos7中不自带启动终端的快捷键,可以自定义添加。 ...
分类:
其他好文 时间:
2017-09-06 14:41:19
阅读次数:
275
G. Bathroom terminal Smith wakes up at the side of a dirty, disused bathroom, his ankle chained to pipes. Next to him is tape-player with a hand-writt ...
分类:
其他好文 时间:
2017-09-05 23:16:21
阅读次数:
424
switch> 用户模式 1:进入特权模式enable switch> enable switch# 2:进入全局配置模式configure terminal switch> enable switch#configure terminal switch(conf)# 3:交换机命名hostname ...
分类:
其他好文 时间:
2017-09-05 22:03:16
阅读次数:
192
一、X Window与命令行模式的切换 我们可以在两种环境下操作Linux,其一是X Window的窗口管理员环境,其二是纯文本界面的环境。初学者刚安装完Linux后会默认进入图形界面的登录环境,那么他们要怎么切换X Window与命令行模式呢? 命令行模式也被称为终端界面(terminal或con ...
分类:
其他好文 时间:
2017-09-05 19:41:51
阅读次数:
126