Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: what does bash mean

  1. #1
    Join Date
    Jun 2013
    Beans
    41

    what does bash mean

    I tried to use the terminal to get a program I downloade to work. I thought that if I TYPED java-jar/home/directoryname/java-jar programname & then terminal said bash. what did I do wrong?

  2. #2
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    9,661
    Distro
    Ubuntu Development Release

    Re: what does bash mean

    I do not know what you did wrong but BASH = Bourne Again SHell. It is a replacement for the Bourne Shell. In other words it is a command line interpreter = the terminal and the commands that run or execute in the terminal. The commands can also be written in text files called scripts.

    http://en.wikipedia.org/wiki/Bash_(Unix_shell)

    https://help.ubuntu.com/community/Be.../BashScripting

    My guess is that you were running a script that ended without doing much.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  3. #3
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: what does bash mean

    It might be a bit easier (for some of us dense folks) if you could copy/paste a sample of what you're typing and seeing for results.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    10,329
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: what does bash mean

    newblank25; Hi !

    See all the aboves: Me too slow (??).

    A path - to the file to be executed - is required. In your example:
    "/home/newblank25/directoryname/programname"
    Where "programname" is located in the subdirectory "directoryname" in another subdirectory "newblank25" that may be 1 of several directories located under the top directory "home" that is under the topmost of all files "/".
    For example:
    Code:
    sysop@1310mini:~$ ls -la /home/sysop/Downloads/shutdown.man.txt
    -rw-rw-r-- 1 sysop sysop 3194 Jul 28  2013 /home/sysop/Downloads/shutdown.man.txt
    sysop@1310mini:~$
    where "shutdown.man.txt" might be an executable file.

    Else: as I can be real dense-> copy and paste back to us what you are actually doing.

    Ain't it great
    free education !
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #5
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,638
    Distro
    Ubuntu

    Re: what does bash mean

    bash will tell you if you did it wrong but it won't tell you if you did it right (unless you tell it to do so)

    So if you literally type
    Code:
    java-jar/home/directoryname/java-jar programname
    Then bash will say
    Code:
    bash: java-jar/home/directoryname/java-jar: No such file or directory
    Which is like saying "This is bash speaking: I can't find what you are asking for"

  6. #6
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    6,087
    Distro
    Ubuntu

    Re: what does bash mean

    Did it say
    bash: java-jar/home/directoryname/java-jar: No such file or directory
    ?

    Is java-jar a program?
    Maybe needs a space.
    Two seconds search shows a proper command for java -jar
    http://askubuntu.com/questions/10174...m-the-terminal
    Last edited by deadflowr; February 5th, 2014 at 12:02 AM.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  7. #7
    Join Date
    Jun 2013
    Beans
    41

    Re: what does bash mean

    $ java-jar/home/michael/game/fibs/JavaFIBS2001/JavaFIBS-1.0.12_java16.jar
    bash: java-jar/home/michael/game/fibs/JavaFIBS2001/JavaFIBS-1.0.12_java16.jar: No such file or directory
    this is what i tried?

  8. #8
    Join Date
    Jan 2009
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: what does bash mean

    Quote Originally Posted by newblank25 View Post
    $ java-jar/home/michael/game/fibs/JavaFIBS2001/JavaFIBS-1.0.12_java16.jar
    bash: java-jar/home/michael/game/fibs/JavaFIBS2001/JavaFIBS-1.0.12_java16.jar: No such file or directory
    this is what i tried?
    Hi,

    I believe the command you are looking for is:
    Code:
    java -jar /home/michael/game/fibs/JavaFIBS2001/JavaFIBS-1.0.12_java16.jar
    "-jar" is a paramater of the java command, used to specify that you wish to run a jar file.
    Last edited by ubudog; February 5th, 2014 at 01:56 AM.

  9. #9
    Join Date
    Jun 2013
    Beans
    41

    Re: what does bash mean

    i cut & pasted it & this happened. michael@michael-ubuntu:~$ java -jar /home/michael/game/fibs/JavaFIBS2001/JavaFIBS-1.0.12_java16.jarError: Unable to access jarfile /home/michael/game/fibs/JavaFIBS2001/JavaFIBS-1.0.12_java16.jar

  10. #10
    Join Date
    Jan 2009
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: what does bash mean

    Do you know where your .jar is that you want to run?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •