Does anybody know why Fedora does this?

Steven Stern subscribed-lists at sterndata.com
Thu Sep 12 12:39:23 UTC 2013


On 09/12/2013 06:11 AM, James Hogarth wrote:
> 
> 
> 
> On 12 September 2013 11:57, Tim <ignored_mailbox at yahoo.com.au
> <mailto:ignored_mailbox at yahoo.com.au>> wrote:
> 
> 
>     ~]$ cat /usr/bin/cd
>     cat: /usr/bin/cd: No such file or directory
> 
>     ~]$ which cd
>     /usr/bin/which: no cd in
>     (/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/tim/.local/bin:/home/tim/bin)
> 
>  
> Huh that's odd ...  on my F19 laptop:
> 
> [hogarth ~]$ sudo yum provides "*bin/cd"
> [sudo] password for hogarthj: 
> Loaded plugins: langpacks, refresh-packagekit
> bash-4.2.45-1.fc19.x86_64 : The GNU Bourne Again shell
> Repo        : fedora
> Matched from:
> Filename    : /usr/bin/cd
> 
> bash-4.2.45-1.fc19.x86_64 : The GNU Bourne Again shell
> Repo        : @koji-override-0/$releasever
> Matched from:
> Filename    : /usr/bin/cd
> 
> [hogarthj ~]$ ls -l /usr/bin/cd
> -rwxr-xr-x. 1 root root 26 Mar 11  2013 /usr/bin/cd
> 
> [hogarthj ~]$ rpm -qf /usr/bin/cd
> bash-4.2.45-1.fc19.x86_64
> 
> I'd be very curious as to what rpm -q bash and rpm -V bash result in for
> you...
> 

yum provides "/usr/bin/cd"

bash-4.2.45-1.fc19.x86_64 : The GNU Bourne Again shell
Repo        : fedora
Matched from:
Filename    : /usr/bin/cd

bash-4.2.45-1.fc19.x86_64 : The GNU Bourne Again shell
Repo        : installed
Matched from:
Filename    : /usr/bin/cd




-- 
-- Steve


More information about the users mailing list