Question
A shopkeeper sells an article for Rs. 506, earning a
profit of 15%. If the same article is sold for Rs. 396, what would be the profit or loss percentage?Solution
ATQ, Cost price of the article = (506/1.15) = Rs. 440 New selling price of the article = Rs. 396 So, loss percentage = {(440 – 396)/440} × 100 = 10%
Which command is used to display the current working directory?
Which command is used to check the current working directory in Linux?
In shell scripting, which symbol represents all files in the current directory?
In shell scripting, which command is used to read input from the user?
What is the exit status code of a successfully executed command in Linux shell?
Which command safely iterates over filenames that may contain spaces and newlines in a shell script?
Which construct replaces a command with its output in a POSIX shell?
Which operator is used to append output to a file?
Which command safely iterates over filenames that may contain spaces and newlines in a shell script?
Which operator is used for string equality comparison within `test` or `[` commands in shell scripting?