View RSS Feed

James' openSUSE Bash Scripting (and other things) Blog - Your Comments are Welcome!

Here Bash Scripting Rules Supreme! I also talk about other useful subjects such as Video Cards, loading the nVIDIA video driver, Samba, kernel compiling, kernel source code and many other things that is related to using openSUSE. If you have a bash script request for openSUSE, please let me know.

Thank You,

  1. Quiz: Using Exit Codes in Bash - A test for You.

    by , 06-Nov-2011 at 16:12 (James' openSUSE Bash Scripting (and other things) Blog - Your Comments are Welcome!)
    Here is a small test I found on the internet with a few modifications. If you dare, take the test and then run my bash script to see how you did.

    1. How Many Exit Codes are there?

    A. 10
    B. 0-255
    C. 45
    D. 2

    2. How do you view an exit code after you complete a command?

    A. exit code list
    B. echo exit
    C. echo $ecode
    D. echo $?

    3. What exit code generally suggests the command was successful?
    ...

    Updated 26-Mar-2013 at 18:25 by jdmcdaniel3

    Categories
    openSUSE Software