Question
If a boy runs at the speed of 20 km/hr and crosses a
bridge in 15 minutes, then what is the length of the bridge?Solution
Let us assume the length of the bridge be 'L' The speed of the boy = [20 × (5/18)] = (100/18) m/s The time = 15 minutes = (15 × 60) = 900 seconds L= [900 × (100/18)] = 5000 metres
How can you make a shell script executable?
Which command is used to display the current working directory?
What does the #!/bin/bash line at the beginning of a shell script indicate?
In shell scripting, how do you assign the string "Hello World" to a variable named `MESSAGE`?
Which command is used to display the number of lines in a file?
Extended globbing in bash allows:
What does the command `chmod 755 myscript.sh` set as permissions for `myscript.sh`?
In bash, what does trap 'echo Exit' EXIT do?
Which command is used to display the last few lines of a file?
Which ETL process step validates and cleans data before loading?