Question
If a person walks 20% more than of his usual speed,
reaches his distance 90 minutes before. If the destination is 459 km away, then the usual speed of a person is (in km/hr)?Solution
Let the usual speed be x km/hr New speed = 120% of x = 6x/5 km/hr Distance = 459 km According to the question 459/x – 459/(6x/5) = 90/60 459 x [(6 – 5)/6x] = 3/2 Therefore, x = 459 x (1/6) x (2/3) = 51 km/hr
In shell scripting, $1 represents:
In bash, what does trap 'echo Exit' EXIT do?
Which statement correctly defines a variable in shell scripting?
Which command is used to search for a pattern in files?
Which construct allows embedding a block of text in shell scripts as input?
Named pipes (FIFOs) are created using:
To check if a file /tmp/data.txt is both readable and writable by the current user in a shell conditional, which test is correct?
Which symbol is used in shell scripting to reference a positional parameter, e.g., the first argument passed to a script?
Which special file enables interprocess communication using named pipes?
Which command is used to find the number of lines, words, and characters in a file?