LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2008, 11:05 AM   #1
harshanair17
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
cant find the location of cd


where exactly is the exe file for cd located cos its not present in etc/bin
which command doesnt work either all it returns is a blank line!
 
Old 08-06-2008, 11:10 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Are you talking about the 'change directory' cd command? If you're using bash, then it's a built-in shell command. Read man bash for more info.

You can use the command 'type commandname' to see what the source of any command is.
 
Old 08-06-2008, 11:12 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,961

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by harshanair17 View Post
where exactly is the exe file for cd located cos its not present in etc/bin
which command doesnt work either all it returns is a blank line!
Your question makes no sense whatsoever. What are you trying to find/do, and what version and distro of Linux are you using?
 
Old 08-06-2008, 11:22 AM   #4
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
What exe file?

You mean the binary... see /usr/bin

you will be able to find builtins too in some bin

Last edited by amani; 08-06-2008 at 11:27 AM.
 
Old 08-07-2008, 01:20 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
In bash the cd cmd is a built-in, so there's no standalone exe for it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find location within building - something like GPS? jantman Linux - Hardware 4 03-14-2008 12:49 AM
Find a link in web folder location tanveer Linux - General 2 10-16-2007 10:56 PM
find the exact location of a running exec file cahdecah General 4 08-16-2007 11:53 AM
find a specific file's location in a block-bitmap abhishek07 Linux - Kernel 0 06-28-2007 04:20 AM
Find location of packages previously installed with yum on fedora core 5 Tails and Link Linux - Newbie 8 04-30-2006 05:27 AM


All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration