Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
help:general_linux:linux_basics [2016/05/18 09:14] jebailie |
help:general_linux:linux_basics [2016/05/18 12:15] jebailie [Files, Directories and Paths] |
||
---|---|---|---|
Line 6: | Line 6: | ||
==== Files, Directories and Paths ==== | ==== Files, Directories and Paths ==== | ||
- | * a @@file@@ is a collection of data with a name (a @@filename@@ to be precise). | + | * a //file// is a collection of data with a name (a //filename// to be precise). |
- | * a @@directory@@ is construct for grouping and organizing | + | * a //directory// is construct for grouping and organizing |
- | * a @@path@@ is a way of nameing | + | * a //path// is a way of naming |
- | * a @@link@@ is a filesystem pointer. | + | * a //link// is a filesystem pointer. |
- | ==== Programs, commands and your Shell ==== | ||
- | |||
- | |||
- | * a **shell** is the interactive command line interpreter to Unix. Typically you will have a //prompt// that looks like " | ||
===== Shell commands ===== | ===== Shell commands ===== | ||
- | * "ls, ls -a, ls -l, ls -la, etc. ": lists the files in your current working directory for that shell. | + | * **//ls//**: lists the files in your current working directory for that shell. |
- | * cd directory : changes the current working directory to directory where directory may be a fully qualified path. A ~ indicates your home directory. ~bob indicates the home directory of bob. | + | * more ways: **//ls -a, ls -l, ls -la//** |
- | * "rm filename" | + | * **//cd directory//** : changes the current working directory to directory where directory may be a fully qualified path. A ~ indicates your home directory. ~bob indicates the home directory of bob. |
- | * "cp source destination" | + | * **//rm filename//** : removes the file filename where filesname may be a fully qualified path |
- | * "mv source destination" | + | * **//cp source destination//** : copies the file source to the file destination where source and destination may be fully qualified paths. |
- | * "chmod #### file or directory" | + | * **//mv source destination//** : the same as //cp//, but it moves the source file instead of copying it. mv can also be used to rename a file with mv oldname newmane |
+ | * **//chmod #### file or directory//** : changes the file or directory permissions for letter yourself and other people access your files. see //man chmod// for more info. | ||
===== Basic Utilities ===== | ===== Basic Utilities ===== | ||
Line 34: | Line 30: | ||
- | |||
- | |||
- | |||
- | ===== Where to go from here ===== | ||
- | |||
- | Help on any Unix command //or// system call can be found in the man pages. In your shell, type: "man command" | ||