Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 937  / 2 Years ago, thu, february 3, 2022, 10:26:05

I'm a brand new user of Linux/Ubuntu (14.04)



I am looking for BASH.



I clicked the UbuntuSoftwareCenter at the left and then the "All Software" icon at the top. I enter "Bash" into the search field at the top right, and at the top of the results is "GNU Bourne Again SHell" and it's flagged as "Installed" (green check, etc.) But I cannot "do" anything with it from there - I cannot open the program, drag it to the left menu bar, etc. Nothing.



So, still in Ubuntu Software Center, I instead click "Installed" at the top , but now the program "GNU Bourne Again SHell" is nowhere to be found.



So, I closed the window then clicked "Dash" and entered "BASH" or "Bourne" or "SHell" (in varying capitalizations), and I also opened up the "Applications" section to show all... there's no "BASH"



Can anyone explain what I was seeing and where I can find the supposedly installed BASH, and pin it to the left menu?


More From » bash

 Answers
7

Many programs in Ubuntu need something or the other to run in. Graphical programs like the file manager (typically Nautilus) or the browser (Firefox, or Google Chrome, for example) need an instance of the X Window System (typically provided by X.Org's X server) to run.



Correspondingly, command-line programs like Bash, apt-get, lynx, etc., to be run interactively, need a terminal emulator to run. By default, Ubuntu has GNOME Terminal, XTerm and the TTYs (managed by getty, accessible by pressing CtrlAltF1-F6 - back to GUI by CtrlAltF7) via which you can interact with command line programs.



To run a command-line program, then, you need to run a terminal emulator (for example, GNOME Terminal) first.



The terminal emulator programs typically run bash by default (since that is the default login shell for users in Ubuntu). Therefore, to run bash, usually all you need to do is run Terminal.



Without a terminal to run in, when you started Bash or Dash, they probably quit immediately. Nothing to see here, folks.



See:








Making a launcher icon for a command line program is a different issue. For that, see How can I edit/create new launcher items in Unity by hand?, and use Terminal=true instead of Terminal=false.


[#18259] Friday, February 4, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mouedi

Total Points: 420
Total Questions: 109
Total Answers: 116

Location: Philippines
Member since Wed, Aug 19, 2020
4 Years ago
;