View RSS Feed

Recent Blogs Posts

  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