I'd really like a binary "which" to be able to easily run zxfer. /bin/sh has no built in "which" for the sctipt to use.
Thanks,
Stan
nas4free: ~ # ls -al /usr/bin/which
ls: /usr/bin/which: No such file or directory
nas4free: ~ #
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
binary "which"?
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: binary "which"?
try
As for me which is shell built-in command
Code: Select all
which whichHome12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
-
stanv
- NewUser

- Posts: 4
- Joined: 16 Feb 2014 21:52
- Status: Offline
Re: binary "which"?
nas4free: ~ # sh
# which which
no such file or directory
#
# which which
no such file or directory
#
-
xuesheng
- Starter

- Posts: 57
- Joined: 23 Jun 2012 10:56
- Status: Offline
Re: binary "which"?
When I login as root using SSH the /bin/tcsh shell is used and that has 'which' as a built-in command:
Code: Select all
nas4free:~# echo $shell
/bin/tcsh
nas4free:~# which which
which: shell built-in command.
nas4free:~#
-
svily0
- Starter

- Posts: 29
- Joined: 03 Apr 2013 12:05
- Status: Offline
Re: binary "which"?
And what shall bash users do?
While at it, why not add in file, whoami and possibly other useful commands/tools?!
mc would be great to have out of the box, doesn't matter how easy it is to add it later...
links would be nice as well.
It may sound extreme, but I would also love to have man together with the man pages for all the software included in embedded.
20MB wasted perhaps - who cares?
Regards!
While at it, why not add in file, whoami and possibly other useful commands/tools?!
mc would be great to have out of the box, doesn't matter how easy it is to add it later...
links would be nice as well.
It may sound extreme, but I would also love to have man together with the man pages for all the software included in embedded.
20MB wasted perhaps - who cares?
Regards!