[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
slackbook:shell [2012/09/08 11:15 (UTC)] – [Linking] updated to match original article including formatting mfillpot | slackbook:shell [2014/05/21 08:39 (UTC)] (current) – [File and Directory Creation and Deletion] man -> mkdir zithro | ||
---|---|---|---|
Line 15: | Line 15: | ||
(short for **manual**) will bring up the included | (short for **manual**) will bring up the included | ||
man-page for any application, | man-page for any application, | ||
- | library you tell it too. For example, man man | + | library you tell it too. For example, |
will bring up the man-page for **//man//** itself. | will bring up the man-page for **//man//** itself. | ||
Line 196: | Line 196: | ||
"/ | "/ | ||
failed to use the //-p// argument, | failed to use the //-p// argument, | ||
- | **//man//** would fail to create "/ | + | **//mkdir//** would fail to create "/ |
unless the first two already existed, as you saw in the example. | unless the first two already existed, as you saw in the example. | ||
Line 328: | Line 328: | ||
strength. Unfortunately, | strength. Unfortunately, | ||
and CPU-intensive process, so **// | and CPU-intensive process, so **// | ||
- | typicall | + | typically |
==== XZ / LZMA ==== | ==== XZ / LZMA ==== | ||
The latest compression utility added to Slackware is | The latest compression utility added to Slackware is | ||
- | **//xz//**, which impliments | + | **//xz//**, which implements |
algorithm. This is faster than **// | algorithm. This is faster than **// | ||
often compresses better as well. In fact, its blend of speed and | often compresses better as well. In fact, its blend of speed and | ||
compression strength caused it to replace | compression strength caused it to replace | ||
**// | **// | ||
- | Slackware. | + | Slackware. |
a man page at the time of this writing, so to view available options, | a man page at the time of this writing, so to view available options, | ||
use the //--help// argument. | use the //--help// argument. | ||
Line 446: | Line 446: | ||
**// | **// | ||
text file until your screen is full, then pause. | text file until your screen is full, then pause. | ||
- | through that screen, you can proceed down one line by pressing ENTER, | + | through that screen, you can proceed down one line by pressing |
- | or an entire screen by pressing < | + | or an entire screen by pressing <key>'SPACE'</ |
specified number of lines by typing a number and then the | specified number of lines by typing a number and then the | ||
- | < | + | <key>'SPACE'</ |
capable of searching through a text file for keywords; once you've | capable of searching through a text file for keywords; once you've | ||
displayed a file in **// | displayed a file in **// | ||
- | key and enter a keyword. | + | key and enter a keyword. |
text will scroll until it finds the next match. | text will scroll until it finds the next match. | ||
Line 469: | Line 469: | ||
In fact, modern versions of **// | In fact, modern versions of **// | ||
as the one shipped with Slackware, do feature a | as the one shipped with Slackware, do feature a | ||
- | **back** function via the < | + | **back** function via the <key>'b'</ |
key. However, the function is only available when opening files | key. However, the function is only available when opening files | ||
directly in **// | directly in **// | ||
Line 475: | Line 475: | ||
</ | </ | ||
- | |||
==== less ==== | ==== less ==== | ||
Line 493: | Line 492: | ||
Moreover, Slackware also includes a handy little pre-processor for | Moreover, Slackware also includes a handy little pre-processor for | ||
**// | **// | ||
- | '' | + | '' |
**// | **// | ||
'' | '' | ||
Line 503: | Line 502: | ||
functionality as one might expect from a text editor without | functionality as one might expect from a text editor without | ||
actually being a text editor. Movement line-by-line can be done | actually being a text editor. Movement line-by-line can be done | ||
- | **// | + | **// |
- | < | + | <key>'k'</ |
- | < | + | <key>'ENTER'</ |
on one screen, you can even scroll horizontally with the left and | on one screen, you can even scroll horizontally with the left and | ||
- | right arrow keys. The < | + | right arrow keys. The <key>'g'</ |
- | the file, while < | + | the file, while <key>'G'</ |
end. | end. | ||
Line 514: | Line 513: | ||
Searching is done as with **// | Searching is done as with **// | ||
the / key and then your search string, but notice how the search | the / key and then your search string, but notice how the search | ||
- | results are highlighted for you, and typing < | + | results are highlighted for you, and typing <key>'n'</ |
- | take you to the next occurence | + | take you to the next occurrence |
- | < | + | <key>'N'</ |
- | Also as with **// | + | Also as with **// |
directly in **// | directly in **// | ||
Line 525: | Line 524: | ||
< | < | ||
- | darkstar: | + | darkstar: |
- | / | + | / |
- | darkstar: | + | darkstar: |
- | / | + | / |
- | / | + | / |
</ | </ | ||
There is much more to **// | There is much more to **// | ||
- | the application, | + | the application, |
commands. | commands. | ||
===== Linking ===== | ===== Linking ===== | ||
Line 582: | Line 581: | ||
your symlink is useless; it simply points at a file that doesn' | your symlink is useless; it simply points at a file that doesn' | ||
anymore. | anymore. | ||
- | ====== Navigation ====== | + | ====== |
**Previous Chapter: [[slackbook: | **Previous Chapter: [[slackbook: | ||
Line 589: | Line 588: | ||
====== Sources ====== | ====== Sources ====== | ||
<!-- If you copy information from another source, then specify that source --> | <!-- If you copy information from another source, then specify that source --> | ||
- | * Original source: [[http:// | + | |
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
- | * Originally written by Alan Hicks, Chris Lumens, David Cantrell, Logan Johnson | + | |
<!-- * Contrbutions by [[wiki: | <!-- * Contrbutions by [[wiki: | ||