Actually, my ego is getting the better of me.
1.
I wrote: |
---|
. is the current working directory (.. is the containing directory, so if you're in /usr/share, ./ is /usr/share, ../ is /usr and ../../ is /). ./ is
a. another way of writing .
b. a way of splitting the directory from the file, as in ./myFile
|
2. Concatenation of output and file
3. Not sure
4.
Change
Directory
5. In this sentence, whitespace delimits each word
6. A directory is a file in a file system (aka "folder") which can store other files. Usually on [UNIX-based] file systems, each directory entry consists of an inode number and a name. The inode contains other information such as file size, block list, etc.
7. GNU Compiler Collection, or gcc which is the GNU C Compiler (the capitalization is important here)
8. If-else is an if statement with an else clause, the else specifies what to do when the if's expression is false
9. An if is a conditional statement which allows you to specify what to do when an expression is true, e.g.
if (myFile exists)
open myFile
10. Kind of ambiguous, as it depends on context. In terms of arrays, and index would tell you which element you're accessing
11. Locate is a UNIX command. I'm not entirely sure what it does, but here's a man page (get used to looking for these if you're on UNIX)
http://www.google.co.uk/search?q=man+1+locate
12. Like Zhuge said, a logical operator is a binary, unary or ternary operator that returns a true or false result, e.g. logical AND, OR or NOT
13. ls is short for "list", and is another UNIX command
14. The precedence rule is either programmatic operator precedence or mathematical precedence. Probably the former.
15. pwd is
print
working
directory, it tells you where in the filesystem you are.
For example, `pwd`/myFile == ./myFile
16. A switch statement is another way of writing an if-else ladder, it's neater in some cases and might use less lines of code.