[Bug 1097911] Re: 'which cd' prints nothing
Michael
1097911 at bugs.launchpad.net
Wed Jan 9 20:28:37 UTC 2013
** Package changed: ubuntu => debianutils (Ubuntu)
** Description changed:
In Ubuntu 12.04, enter the command 'which cd'. It prints nothing. Same
with whatis and whereis:
$ whatis cd
cd: nothing appropriate.
$ whereis cd
cd:
$ which cd
Lame. It should print that cd is a bash builtin, or a function or alias
or whatever.
+
+ Update:
+ This thread suggests using 'type -P' instead:
+ http://unix.stackexchange.com/questions/10525/how-to-use-which-on-an-aliased-command
+
+ While that is a solution, I don't think we should be satisfied with
+ "which sucks, use something else instead"
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debianutils in Ubuntu.
https://bugs.launchpad.net/bugs/1097911
Title:
'which cd' prints nothing
Status in “debianutils” package in Ubuntu:
New
Bug description:
In Ubuntu 12.04, enter the command 'which cd'. It prints nothing. Same
with whatis and whereis:
$ whatis cd
cd: nothing appropriate.
$ whereis cd
cd:
$ which cd
Lame. It should print that cd is a bash builtin, or a function or
alias or whatever.
Update:
This thread suggests using 'type -P' instead:
http://unix.stackexchange.com/questions/10525/how-to-use-which-on-an-aliased-command
While that is a solution, I don't think we should be satisfied with
"which sucks, use something else instead"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debianutils/+bug/1097911/+subscriptions
More information about the foundations-bugs
mailing list