Question
The speed of two cars A and B are in the ratio of 12:15
respectively. Car A travels 15 km less than the car B in the same time duration. What was the distance (in km) travelled by the car B during that time?Solution
Let the speed of car A = 12x km/h and the speed of car B = 15x km/h. Here the time is constant. According to question, => 15x – 12x = 15 => 3x = 15 => x = 5 Distance travelled by car B = 15 × 5 = 75 km
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?
In shell scripting, which command is used to read input from the user?
Which special file enables interprocess communication using named pipes?
Which operator is used for string equality comparison within `test` or `[` commands in shell scripting?
Which symbol is used in shell scripting to reference a positional parameter, e.g., the first argument passed to a script?
In shell scripting, which operator is used for string comparison?
Which character is used to denote a single-line comment in a shell script?
How can you pass command-line arguments to a shell script?
Which command is used to display the current working directory in a Unix-like operating system?
Slowly Changing Dimension (SCD) is used to: