Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
help:general_linux:linux_basics [2016/05/18 12:12] jebailie [Shell commands] |
help:general_linux:linux_basics [2016/05/18 12:17] (current) jebailie |
====== Linux Basics ====== | ====== Linux Basics ====== |
| |
| ===== Files, Directories and Paths ===== |
| * a //file// is a collection of data with a name (a //filename// to be precise). Although it may be stored in separate chunks in different location on the hardware, programs will generally work with a file as a single continuous collection of data. |
| |
| * a //directory// is construct for grouping and organizing //files//. In UNIX and Linux, //directories// can contain, //files//, other //directories//, //links// and //devices//. You may be use to calling directories //folders// or //namespaces//. |
| |
| * a //path// is a way of naming the location of a file, directory, link or device. //Paths// can be //relative// or //absolute// and are often used as the prefix to a filename. For example, if I want to list the contents of a directory that is in my home directory called ''cheese'', I can type: <code>ls ~/cheese/</code> |
| |
==== Files, Directories and Paths ==== | * a //link// is a filesystem pointer. You may be use to calling a //link// an //alias// or a //shortcut// |
| |
* a @@file@@ is a collection of data with a name (a @@filename@@ to be precise). Although it may be stored in seporate chuncks in different location on the hardware, programs will generaly work with a file as a single contiuous collection of data. | |
| |
* a @@directory@@ is construct for grouping and organizing @@files@@. In UNIX and Linux, @@directories@@ can contain, @@files@@, other @@directories@@, @@links@@ and @@devices@@. You may be use to calling directories @@folders@@ or @@namespaces@@. | |
| |
* a @@path@@ is a way of nameing the location of a file, directory, link or device. @@Pathes@@ can be @@relative@@ or @@absolute@@ and are often used as the prefix to a filename. For example, if I want to list the contents of a directory that is in my home directory called ''cheese'', I can type: <code>ls ~/cheese/</code> | |
| |
* a @@link@@ is a filesystem pointer. You may be use to calling a @@link@@ an @@alias@@ or a @@shortcut@@ | |
| |
| |