All articles
Last comments
kardamom
Jesús, for "libpackagekit" run: sudo apt-get install packagekit-backend-aptcc
Guest Michael
This is my favorite GUI text editor for Linux, I use the Windows version all the time too. I also covered this topic here.
Andrii
I'm using Mint Cinnamone installed on virtual machine VMWare. The instruction helped me to adjust my mouse scroll wheel speed. I set the value to 6. Now it's comfortable to use the mouse. Thanks a lot!
Shekin
Cecilieaux Bois de Murier, 1. Silentcast 2. I haven't checked, but I think that it is possible to do in the program SimpleScreenRecorder
Cecilieaux Bois de Murier
Is there an application that imports stills into a GIF?
Archive
«    January 2017    »
MonTueWedThuFriSatSun
 1
2345678
9101112131415
16171819202122
23242526272829
3031 
» » Betty - friendly English-like interface for terminal

Betty - friendly English-like interface for terminal

Betty - friendly English-like interface for terminal

Betty is a program that allows you to perform various Linux commands, but to perform them you don't need to know the commands, you can simply write what you want in plain English.

Sorry for the spelling and phonetic errors in the text.
Owner and main writer of MintGuide.org is not a native English speaker.


 

Working with Betty is very simple. You write in the command line that want to get, and the program performs an action or provides a choice of what she can do. This, of course, in the ideal, in reality you need to know and remember the suggestions that she knows Betty. But in spite of this the idea of the program is very interesting.

The developers of the program indicate that it looks like OK Google or Siri from Apple, just talk with Betty we in the Linux command line. We can just ask "betty wha time is it now", and in response receive the current time.

Betty supports several dozen commands. To understand how this works, here are a few examples.

The simplest questions to betty look something like this:

betty what time is it?
Betty: Running date +"%r (%T)"
08:23:22 PM (20:23:22)

As you can see, we ask Betty current time and get that command which Betty performs, and then get the result of the command.
If Betty has a few alternatives, you will be prompted to choose one of them:

betty what is my name
Betty: Okay, I have multiple ways to respond.
Betty: Enter the number of the command you want me to run, or N (no) if you don't want me to run any.
[1] whoami
Gets your system username.
[2] finger $(whoami) | sed 's/.*: *//;q'
Gets your full name.
1
Betty: Running whoami
mintguide

 

Betty - friendly English-like interface for terminalBetty - friendly English-like interface for terminal

Separately noted the following useful commands:

betty uncompress archive.tar.gz
betty unarchive archive.tar.gz to somedir
betty show size for myfile.txt
betty download http://www.mysite.com/something.tar.gz to something.tar.gz
betty find me all files that contain map
betty how many characters are in myfile.txt


A list of all basic commands available on the program website or in the README file.md.

P. S. the Program is cross-platform and can be used on Linux, Mac OS X and Windows.


Installation latest version into Linux Mint:

Betty can be downloaded from the official website, but you can clone a git repository. I went through the second. First you need to install auxiliary components. Run command in terminal:

sudo apt-get install ruby curl git

Now clone the repository:

git clone https://github.com/pickhardt/betty


In your home directory you should see a folder betty. The program's executable file main.rb. So it was convenient to use Betty we will create an alias with the name betty.
To do this, run the command:

echo "alias betty=\"~/betty/main.rb\"" >> ~/.bashrc
source ~/.bashrc


You can now use the Betty as follows:

betty your request in English

Good Luck!!!

https://github.com/pickhardt/betty

Tags: terminal

Related Articles

Add a comment

  • bowtiesmilelaughingblushsmileyrelaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypensive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
Login via
Twenty-four minus twenty
Up