Computer scienceSystem administration and DevOpsCommand lineWorking with files

Searching executables

Multiple executables

Report a typo

Run a command that will show the directories of 2 executables (the names of the executables will be stored in the arguments $1 and $2):

Sample Input 1:

echo which

Sample Output 1:

/bin/echo
/usr/bin/which
Write a program in Shell
#!/usr/bin/env bash
function solve() {
# put your code here
}
___

Create a free account to access the full topic