LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-05-2020, 04:49 PM   #1
Victor43
Member
 
Registered: May 2020
Posts: 46

Rep: Reputation: Disabled
How to check if the command CD is built into the Shell and not an external binary (command)


How is it possible to verify that the following command "CD" change directory is actually built into the shell and not an external binary command ?

Thanks
 
Old 06-05-2020, 05:42 PM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,669

Rep: Reputation: Disabled
Code:
type cd

Last edited by shruggy; 06-05-2020 at 05:43 PM.
 
3 members found this post helpful.
Old 06-05-2020, 06:59 PM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,851

Rep: Reputation: 4951Reputation: 4951Reputation: 4951Reputation: 4951Reputation: 4951Reputation: 4951Reputation: 4951Reputation: 4951Reputation: 4951Reputation: 4951Reputation: 4951
Since cd affects the current shell execution environment, it is always provided as a shell regular built-in.
 
Old 06-05-2020, 09:21 PM   #4
Victor43
Member
 
Registered: May 2020
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
Code:
type cd
Thank you
 
1 members found this post helpful.
  


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
Linux utility to combine two or more binary files into a single binary file mageshvan Programming 7 05-05-2011 09:06 AM
Built on Linux. Built on *nix. The OS X application model. drhart4000 Linux - General 2 06-10-2009 05:27 AM
LXer: To binary or not to binary, that is the question LXer Syndicated Linux News 0 12-31-2006 10:33 AM
built-to-order PC or ready-built PC from well-known companies? kpachopoulos General 6 11-03-2004 04:14 PM
if i get an nforce mobo with built-in VGA... will the built in vga work in linux? kublador Linux - Hardware 2 11-10-2003 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:49 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
Open Source Consulting | Domain Registration