pavement

Cd

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(minor updates)
m (Reverted edits by DavidYoung (talk) to last revision by Jimbo)
 
Line 27: Line 27:
  
 
[[Category:Windows Equivalents]]
 
[[Category:Windows Equivalents]]
 
== Simple Ways Of Dealing With Conflict ==
 
 
Being in control of your life and having realistic expectations about your day-to-day challenges are the keys to stress management, which is perhaps the most important ingredient to living a happy, healthy and rewarding life.
 
 
[[http://goodvillenews.com/Simple-Ways-Of-Dealing-With-Conflict-n0JxBe.html Simple Ways Of Dealing With Conflict]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== A Quick Guide To The Art of Listening ==
 
 
The most basic of all human needs is the need to understand and be understood. The best way to understand people is to listen to them. Ralph Nichols
 
 
[[http://goodvillenews.com/A-Quick-Guide-To-The-Art-of-Listening-ALkv60.html A Quick Guide To The Art of Listening]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== A Quick Guide To The Art of Listening ==
 
 
The most basic of all human needs is the need to understand and be understood. The best way to understand people is to listen to them. Ralph Nichols
 
 
[[http://goodvillenews.com/A-Quick-Guide-To-The-Art-of-Listening-ALkv60.html A Quick Guide To The Art of Listening]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== The Importance of Learned Optimism ==
 
 
What 25 years of research reveal about the cognitive skills of happiness and finding lifes greater purpose.The illiterate of the 21st century, Alvin Toffler famously said, will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn. Our outlook on the world and our daily choices of disposition and behavior are in many ways learned patterns to which Tofflers insight applies with all the greater urgency
 
 
[[http://goodvillenews.com/The-Importance-of-Learned-Optimism-jmZjsG.html The Importance of Learned Optimism]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Rainbow of Colorful Critters Discovered in Suriname ==
 
 
A scientific expedition into one of the worlds last pristine tropical forests has revealed incredibly diverse species and extraordinary cultural heritage, said Conservation International (CI) today, announcing the results of a scientific survey in southwest Suriname that documented nearly 1,300 species, including 46 species which may be new to science. The announcement comes as the global organization marks 25 years of science-based conservation, this month.
 
 
[[http://goodvillenews.com/Rainbow-of-Colorful-Critters-Discovered-in-Suriname-TjkvIE.html Rainbow of Colorful Critters Discovered in Suriname]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 

Latest revision as of 16:20, 25 August 2012

The cd command ("Change directory"), sometimes also spelled chdir, is built into any version of the Unix shell that you are likely to find. It is also found in DOS and the Windows CLI (cmd.exe or command.com), where it means the same thing as it does in a shell on FreeBSD and other unixlike OSes.

A notable differences between the Unix shell cd and the DOS version is that, all shell versions of cd require a space between cd and the name of the directory to change to, even if the name is the symbol . (current directory), .. (container directory), or / (file-system root directory).

C:\Windows> cd\stuff (windows)
splat# cd /stuff     (unixlike)
C:\Windows> cd..     (windows)
splat# cd ..         (unixlike)

cd by itself will send you to your home directory, as will cd ~. cd - will show you and then change your directory to the last directory you were in, as below:

[dave]@deus /var/log % cd ~
[dave]@deus ~ % pwd
/home/dave
[dave]@deus ~ % cd /etc
[dave]@deus /etc % cd -
/home/dave
[dave]@deus ~ %

[edit] Common Arguments

.. up one level, e.g., cd .. in /e/foo will take you to /e/
- previous directory
~ home
~username home directory of the user "username"
. the directory I am in. Not used very often with cd but more often with commands.
Personal tools