Without the use of '&&', '||' and ';' - Can you write a 2-line Linux script that lists all files (even ones hidden) in the current directory and the parent of the working directory and the /boot directory (in this order), in long format?
Asked
Active
Viewed 156 times
1 Answers
1
With full path as required:
find . .. /boot -type f -maxdepth 1 -exec readlink -f {} +
or of instead you need the output of ls -l:
ls -la . .. /boot
Gilles Quénot
- 3,943