Question
The efficiency of X is 50% of the efficiency of Y. If Y
can type 180 pages in 45 days, then find the number of days taken by X alone to type 360 pages.Solution
ATQ, Number of pages typed by Y in 1 day = 180 ÷ 45 = 4
So, number of pages typed by X in 1 day = 4 × 0.5 = 2
So, time taken by X alone to type 360 pages = 360 ÷ 2 = 180 days
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?