完整的Betty命令行列表
Betty工具有一些命令格式。如果你输入“what is my user name”而不是“whats my username”,它是不能识别的。所以,你只能输入Betty支持的英语短语。
下面给出一个Betty支持的完整的命令行列表。
- Count:
- betty how many words are inthis directory
- betty how many characters are in myfile.py
- betty count lines inthis folder
- (Note that there's many ways to say more or less the same thing.)
- Config:
- betty change your name to Joe
- betty speak to me
- betty stop speaking to me
- Datetime:
- betty what time is it
- betty what is todays date
- betty what month is it
- betty whats today
- Find:
- betty find me all files that contain california
- Internet:
- betty download http://www.mysite.com/something.tar.gz to something.tar.gz
- betty uncompress something.tar.gz
- betty unarchive something.tar.gz to somedir
- (You can use unzip, unarchive, untar, uncompress, and expand interchangeably.)
- betty compress /path/to/dir
- iTunes:
- betty mute itunes
- betty unmute itunes
- betty pause the music
- betty resume itunes
- betty stop my music
- betty next song
- betty prev track
- betty what song is playing
- (Note that the words song, track, music, etc. are interchangeable)
- Fun:
- betty go crazy
- betty whats the meaning of life
- ...and more that are left for you to discover!
- Map:
- betty show me a map of mountain view
- Meta:
- betty what version are you (or just betty version)
- betty whats your github again
- Permissions:
- betty give me permission to this directory
- betty give anotheruser ownership of myfile.txt
- Process:
- betty show me all processes by root containing grep
- betty show me all my processes containing netbio
- Sizes:
- betty show size for myfile.txt
- Spotify:
- betty play spotify
- betty pause spotify
- betty next spotify
- betty previous spotify
- User:
- betty whats my username
- betty whats my real name
- betty whats my ip address
- betty who else is logged in
- betty whats my version of ruby
- Web queries:
- betty turn web on
- betty please tell me what is the weather like in London
对Linux初级使用者来说,Betty似乎是一个非常nice的工具。希望这个工具对你也会非常有用。
Cheers!
源代码:
via: http://www.unixmen.com/betty-translate-english-phrases-linux-commands/
译者:love_daisy_love 校对:wxy
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-07/104565.htm
