Linux知识:为什么要用字符~来表示home目录
2014-10-27 09:28
155 查看
On Unix-like operating systems (including BSD, GNU/Linux and Mac OS X), tilde often indicates the current user's home directory: for example, if the current user's home directory is
then
Photo of Lear-Siegler ADM-3A keyboard you can find on this site.
This terminal is also the source of shortcuts used in the
left, down, up, right.
/home/bloggsj,
then
cd,
cd ~,
cd /home/bloggsjor
cd $HOMEare equivalent. This practice derives from the Lear-Siegler ADM-3A terminal in common use during the 1970s, which happened to have the tilde symbol and the word "Home" (for moving the cursor to the upper left) on the same key.
Photo of Lear-Siegler ADM-3A keyboard you can find on this site.
This terminal is also the source of shortcuts used in the
vimeditor: h, j, k, l for
left, down, up, right.
相关文章推荐
- Linux知识:为什么要用字符~来表示home目录
- Linux知识:为什么要用字符~来表示home目录
- Linux知识:为什么要用字符~来表示home目录
- Linux知识:为什么要用字符~来表示home目录
- Linux 为什么要用字符 ~ 来表示 home 目录
- 为什么Linux中要用字符~来表示home目录
- Linux 为什么要用字符 ~ 来表示 home 目录
- 几个Unicode新知识:扩展ANSI有很多种(256个字符),Unicode表示ANSI字符时高字节为0,Unicode不包括古代字符
- 为什么要用字符~来表示home目录
- 小知识-为什么Linux不需要磁盘碎片整理
- Linux-C基础知识学习:C语言作业-从键盘输入一行字符,统计其中有多少个字母, 数字,空格(用数组实现,gets)。
- linux操作系统-空格字符表示法
- Linux下硬盘的表示以及相关知识
- linux字符设备驱动之file_operations结构体知识详解
- Linux 字符设备驱动结构(四)—— file_operations 结构体知识解析
- Linux 字符设备驱动结构(三)—— file、inode结构体及chardevs数组等相关知识解析
- Linux 字符设备驱动结构(三)—— file、inode结构体及chardevs数组等相关知识解析
- 为什么Linux不需要磁盘碎片整理?——借以复习文件系统方面的知识
- Linux 字符设备驱动结构(一)—— cdev 结构体、设备号相关知识解析
- linux如何用八进制表示如下字符