edelweis Posted July 16, 2011 at 03:36 PM Report Posted July 16, 2011 at 03:36 PM so I use Chinese menus and IME and now I'd like to make myself an alias file so that I can type commands in Chinese in terminals until I have both the pinyin and wubi memorized... If someone already has such an alias file, could you please post it? Here is the list I have for now, please correct if something is wrong: alias 查看=ls alias 移动=mv alias 改名=mv alias 复制=cp alias 创建目录=mkdir alias 删除目录=rmdir alias 删除=rm alias 生成=make alias 安装='make install' alias 测试='make check' alias 创建链接=ln alias 跳到=cd alias 压包='tar -c' alias 解包='tar -x' alias 编译文本=vim alias 检测组态='./configure' and, is there any difference between 链接 and 连接 ?? [edit: added alias commands and corrected according to Imron's information] Quote
imron Posted July 17, 2011 at 12:07 AM Report Posted July 17, 2011 at 12:07 AM and, is there any difference between 链接 and 连接 ?? Yes. The former means link and the latter means connect/connection. e.g. 给你一个链接 - Here is a link (e.g. a hyperlink to a website). 连接服务器失败 - Connection to server failed Not sure which is most common translation used for symbolic links, but I would lean towards 链接. Quote
edelweis Posted July 17, 2011 at 10:14 AM Author Report Posted July 17, 2011 at 10:14 AM thanks Imron. what about ./configure? should I alias it to something like 检测组态 ? Quote
imron Posted July 17, 2011 at 10:31 AM Report Posted July 17, 2011 at 10:31 AM Can't help with that one sorry. I'm guessing most Chinese people would just say 'configure' Also, a minor nitpick, tar by itself doesn't do any compression so technically 压缩 and 解压 are not 100% correct (you'd have to add the z flag fix that). Quote
edelweis Posted July 17, 2011 at 11:05 AM Author Report Posted July 17, 2011 at 11:05 AM well, sometimes I need z (gzip) and sometimes j (bzip2), but perhaps there is a more appropriate Chinese word (something to do with archiving perhaps?) Quote
imron Posted July 17, 2011 at 11:15 AM Report Posted July 17, 2011 at 11:15 AM Maybe 压包 and 解包? I don't know, but probably something with 包. Quote
edelweis Posted July 17, 2011 at 12:47 PM Author Report Posted July 17, 2011 at 12:47 PM thanks again. I updated the alias list... Quote
trevelyan Posted July 17, 2011 at 02:38 PM Report Posted July 17, 2011 at 02:38 PM You should keep rm in english to avoid problems. Quote
edelweis Posted July 17, 2011 at 04:04 PM Author Report Posted July 17, 2011 at 04:04 PM what kind of problems :o is typing 删除 more dangerous than typing rm? Quote
Recommended Posts
Join the conversation
You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.