(Search & Sitemap)
> Writing >
Miscellaneous Nonfiction >
Tinkering with Perl
Skip Back
Previous
5
6
7
8
9
10
11
12
13
14
Next
Skip Forward
Printer-Friendly Version
cd is a Unix command which means change directory. It changes the directory you are in to another one.
In general, you can type:
cd pathname
where pathname is the absolute or relative pathname (as discussed before) of the directory. For example, to go to the parent directory (the directory one level above) for your current working directory, you can type:
cd ..
What do you think will be the result of typing in the following commands:
pwd cd .. pwd
Why don't you type them in, and see what happens?
Finally, as a special case, if you type
cd
without anything else after it, it will take you to your home directory. Your home directory is the directory you are given on the computer to do things in.
Unix preliminaries - Directories - pwd - mkdir
Tinkering with Perl is a free book that provides an introduction to programming in Perl, as well as a basic reference for things like foreach in Perl, if-then, and if-then-else, in addition to providing a glossary where you can find definitions for concatenate and other terms.
Tinkering with Perl may be one of the most popular offerings on this site, but it's not the only attraction. You can read a tongue-in-cheek Game Review: Meatspace, read an even more offbeat customer service survey (whether or not you actually fill it out), and spend a few minutes wishing your boss would read, The Administrator Who Cried, "Important!" (Not to mention that there are other things you can read here besides tech stuff, from Janra Ball: The Headache to The Spectacles.)
(Search & Sitemap)
> Writing >
Miscellaneous Nonfiction >
Tinkering with Perl
Skip Back
Previous
5
6
7
8
9
10
11
12
13
14
Next
Skip Forward
Printer-Friendly Version