Home » fun » interview questions. » Learn Linux » Quiz » Scripting » Linux Scripting Quiz - 1 Hasan Basri 10:40 PM 0 comments fun interview questions. Learn Linux Quiz Scripting Linux Scripting Quiz - 1 Basic Scripting Quiz Basic Scripting Quiz This is quiz covering the basics of shell scripting #! is called as shebanghebanghash promptbegin Which of the following is not a kind of shell bashkshcshdsh [ is eqvivalent to testforwhile then The difference between printf and echo is Echo adds a new line after printing, printf does notprintf adds a new line after printing, echo does notBoth are same None of the above. ". " is used to match Any one characterAny number of characters Only " . " Only special characters Which of the following symbols is used as prefix to access the value of variables in scripting #$ ^& The comparison operator " -eq " is used for Numbers CharactersStringsAny kind of data A comment line in a script begins with #$^& Every line in a shell script ends with ;: >There is no rule Scripts are made executable using the commandchownchmodexerun Answers to the above quiz can be found at : Answers to linux quiz-1 Share: Facebook Twitter Google+ StumbleUpon Digg Delicious LinkedIn Reddit Technorati
0 comments:
Post a Comment