Install Betty in Linux -Translate English Text Into Commands in Linux Terminal

1bettyIf you are looking for a tool that is like Google Now or Siri for your linux Machine then Betty is here. It is not exactly voice controlled like Siri and GoogleNow but rather plain english commands which can speak command output.

Currently only limited commands are supported by betty because it’s only 2 weeks old but soon it will support a lot commands. Betty is friendly interface on your terminal and it can save your ass when you don’t remember the exact command and no time for googling. More she help you to do your job without leaving command line, just you need to ask betty.


How to Install Betty in Terminal
You can install Betty both mannually and automatically


1. Install Ruby and curl with command sudo apt-get install ruby curl
2. Clone the Betty repo with command git clone install git if you don’t have installed by command sudo apt-get install git

3. Add the path to the “betty/main.rb” file as an alias for Betty in your ~/.bashrc file use the command echo "alias betty=\"~/betty/main.rb\"" >> ~/.bashrc source ~/.bashrc

4. And now you can run commands like “betty uncompress filename.tar.gz

5. Kudos you’ve successfully installed Betty in your Machine.

1. First, git clone this repo with git clone
2. Run ruby install.rb in betty.
3. And now you can run commands like “betty uncompress filename.tar.gz





Here are some non-exhaustive list of things you can do

1. count words and characters in files and dictionary
betty how many words are in this directory
betty how many characters are in
betty count lines in this folder
(Note that there’s many ways to say more or less the same thing.)




2 .Config
betty change your name to Joe
betty speak to me
betty stop speaking to me

3. Datetime
betty what time is it
betty what is todays date
betty what month is it
betty whats today





4 .Find
betty find me all files that contain california

5. Internet
betty download 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

6. 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)

7. Fun
betty go crazy
betty whats the meaning of life
…and more that are left for you to discover!

8. Map
betty show me a map of mountain view

9. Meta
betty what version are you (or just betty version)
betty whats your github again

10. Permissions
betty give me permission to this directory
betty give anotheruser ownership of myfile.txt

11. Process
betty show me all processes by root containing grep
betty show me all my processes containing netbio

12. Sizes
betty show size for myfile.txt

13. Spotify
betty play spotify
betty pause spotify
betty next spotify
betty previous spotify

14. 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

15. Web queries
betty turn web on
betty please tell me what is the weather like in London