alias 是一个设置别名的命令 例如: alias cls= 'clear' 设置完成之后,就可以用 cls 完成clear命令的清屏操作但美中不足的·是,当系统重启之后就会失效,所以要实现永久有效,则需要 修改用户目录下的一个文件 .bashrc目录为 ~/.bashrc vim ~/.bash ...
分类:
其他好文 时间:
2020-07-24 16:34:19
阅读次数:
91
cd ~ vim .gitconfig 添加 [alias] co = checkout ci = commit br = branch :wq 保存,可以根据自己喜好灵活配置 ...
分类:
系统相关 时间:
2020-07-20 13:22:36
阅读次数:
120
本篇主要讲述: 1 命令的别名 2 软件包管理 3 配置永久主机名 4 使用vim创建/修改文件 1、命令的别名 alias 简化复杂命令的输入 [root@A /]# alias myls='ls -lh' #定义别名 等号两边不能有空格 [root@A /]# myls /root/ [root ...
分类:
系统相关 时间:
2020-07-19 16:18:09
阅读次数:
87
To perform a cold boot (also called a "hard boot") means to start up a computer that is turned off. It is often used in contrast to a warm boot, which... ...
分类:
其他好文 时间:
2020-07-18 00:38:36
阅读次数:
268
在pom.xml中添加MyBatis依赖 <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.5</version> </dependency> <dependency> ...
分类:
编程语言 时间:
2020-07-17 11:37:43
阅读次数:
58
Minimum Size Subarray Sum Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which th ...
分类:
其他好文 时间:
2020-07-16 18:17:25
阅读次数:
57
1.设置别名 alias 别名=’原命令 -选项/参数’ 例如: alias ll='ls -lt'1 这样设置了ls -lt命令的别名是ll,在终端输入ll时,则相当于输入了ls -lt命令 注意: 在定义别名时,等号两边不能有空格,否则shell不能决定您需要做什么。仅在命令中包含空格或特殊字符 ...
分类:
系统相关 时间:
2020-07-16 18:09:59
阅读次数:
82
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Now your job is to find the total ...
分类:
其他好文 时间:
2020-07-16 12:06:09
阅读次数:
75
Part1 Not only did they develop such a device but by the turn of the millennium they had also managed to embed it in a worldwide system accessed by bi ...
分类:
其他好文 时间:
2020-07-16 00:01:44
阅读次数:
163
Given a string S of lowercase letters, a duplicate removal consists of choosing two adjacent and equal letters, and removing them. We repeatedly make ...
分类:
其他好文 时间:
2020-07-15 13:09:25
阅读次数:
90