Add scripts/shell/catwhereis.sh

This commit is contained in:
Matheus Albino
2024-04-14 02:27:03 -03:00
parent eb0765e02b
commit 3a664af337

4
scripts/shell/catwhereis.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/zsh
FILE_PATH=`whereis $1 | awk '{print $2}'`
cat $FILE_PATH