Bash Dialog

dialog --textbox dock.sh 50 1000
The dialog utility is used to create a basic level graphical user interface. We can use this in Shell script to create very useful programs.
Sample Output
? #!/bin/bash                                                                                                                                   ?
? color_code="\e[93m"                                                                                                                           ?
? function d_container {                                                                                                                        ?
?   echo "t"                                                                                                                                    ?
? }                                                                                                                                             ?
? function d_images {                                                                                                                           ?
?   echo "t"                                                                                                                                    ?
? }                                                                                                                                             ?
? function d_search {                                                                                                                           ?
?   clear                                                                                                                                       ?
?   read keyword                                                                                                                                ?
?   docker search $keyword                                                                                                                      ?
? }                                                                                                                                             ?
? function d_install {                                                                                                                          ?
?   apt install docker.io                                                                                                                       ?
?   echo "[OK] Docker ?nstalled"                                                                                                                ?
? }                                                                                                                                             ?
? function d_remove {                                                                                                                           ?
?   apt remove docker* --purge                                                                                                                  ?
?   echo "[OK] Docker Removed"                                                                                                                  ?
?   exit                                                                                                                                        ?
? }                                                                                                                                             ?
? function d_start {                                                                                                                            ?
?   clear                                                                                                                                       ?
?   service docker start                                                                                                                        ?
?   echo "[OK] Docker Started"                                                                                                                  ?
??????(+)???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????24%??????
?                                                                   <ÇIKI?>                                                                     ?

1
2018-07-06 12:51:48

What Others Think

For me and my family members, Fishing in the Dartmoor is a truly stunning unforeseen development. One hire this https://www.passivevoicefixer.com/8-reasons-to-get-passive-voice-detector-online-today/ i hope you will like it. Several fishing sees that make our visit enchanting notwithstanding.
Ahmed74 · 27 weeks and 2 days ago
Jen Coyne has beginning late done the best in this thirty-minute program named as "Validness Matters". Click home for more info. This program has shown me the best tips related with the achievement.
Ahmed74 · 27 weeks and 2 days ago
I'm for each condition more empowered by the cross blend sort base plans since they are consistently expected to cover every single something. Check this homepage to get a fine article. In any case, building up an authentic base takes a gigantic load of time.
Ahmed74 · 27 weeks and 2 days ago
I've been struggling to corporate bash dialog with my program, I'll try to use this one. https://www.asphaltsealcoatingdirect.com/directory/california/tracy-concrete
ChuckMathers · 27 weeks and 2 days ago
Since I am a standard individual from the Peertrainer Groups, I have chosen to note down these recommendation. Click SemicolonChecker.com for more details. These proposition ought to be figured it out.
tinakutch · 22 weeks and 2 days ago
We should keep up a key impeccable ways from such people who may cheat us into overpowering tricks, miserable, and bewilderment. Click http://www.sentencechecker.info/ for further info. We should dispose of such enchanting people.
tinakutch · 22 weeks and 2 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: