[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 revisionNext revisionBoth sides next revision | ||
howtos:cli_manual:introduction [2012/09/23 12:09 (UTC)] – [Sources] sycamorex | howtos:cli_manual:introduction [2012/09/24 18:07 (UTC)] – [CLI Offers You Choice] typo sycamorex | ||
---|---|---|---|
Line 1: | Line 1: | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | <note important> | ||
====== CLI Introduction ====== | ====== CLI Introduction ====== | ||
Line 8: | Line 7: | ||
- | ===== CLI is good - Do not fear it ===== | + | ===== CLI is Good - Do Not Fear It ===== |
The following are some of the advantages to using CLI: | The following are some of the advantages to using CLI: | ||
Line 15: | Line 14: | ||
- GUI tools are often just frontends for command line tools. This brings another layer of complexity and is more difficult to troubleshoot. | - GUI tools are often just frontends for command line tools. This brings another layer of complexity and is more difficult to troubleshoot. | ||
- Most commands are distro agnostic: they work on other Linux systems as well. | - Most commands are distro agnostic: they work on other Linux systems as well. | ||
- | - CLI commands are building blocks that can be put together to create custom scripts that are tailored to your needs. | + | - CLI commands are building blocks that can be // |
- | - With CLI commands | + | - CLI commands can be used to automate repetitive tasks |
- CLI commands do not change often. | - CLI commands do not change often. | ||
- Commands make a universal language that is easy to communicate and follow by other internet users. | - Commands make a universal language that is easy to communicate and follow by other internet users. | ||
+ | - CLI scripts can include comments that can act as notes and internal documentation explaining the functionality and simplifying future modifications. | ||
+ | - CLI based instructions are easier to document for sharing with others as opposed to long how-tos and screenshots necessary for GUI instructions. | ||
+ | - CLI commands let you easily access and manage remote systems. | ||
- | ===== CLI is powerful | + | ===== CLI is Powerful |
Being very powerful and flexible, CLI commands can also be unforgiving and potentially harmful to your system. Please remember about the following: | Being very powerful and flexible, CLI commands can also be unforgiving and potentially harmful to your system. Please remember about the following: | ||
Line 26: | Line 28: | ||
- Do not run commands as root unless it is absolutely necessary | - Do not run commands as root unless it is absolutely necessary | ||
- For learning and everyday tasks issue commands as a normal user | - For learning and everyday tasks issue commands as a normal user | ||
- | - Some commands cannot be undone - test your commands carefully before you run them on your system | + | - Some commands cannot be undone - test your commands |
- Avoid running commands that you do not understand (especially as root) | - Avoid running commands that you do not understand (especially as root) | ||
+ | |||
+ | ===== CLI Offers You Choice ===== | ||
+ | |||
+ | A program that provides a command line interface is called a '' | ||
+ | |||
+ | === Terminal Emulator === | ||
+ | |||
+ | A more convenient and common solution, however, is to access the shell via '' | ||
+ | |||
+ | * xterm | ||
+ | * Konsole (KDE) | ||
+ | * Terminal (Xfce) | ||
+ | * rxvt | ||
+ | |||
+ | There are many more terminal emulators available from [[http:// | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | Despite the fact that ultimately they all provide access to the shell, some of them offer unique features that may be appealing to you so it is worth doing some research on them. | ||
+ | |||
+ | === Terminal Multiplexers === | ||
+ | |||
+ | Another CLI tool that may come in handy, especially if you are working on remote systems, are [[http:// | ||
+ | |||
+ | ====== Chapter Navigation ====== | ||
+ | |||
+ | **Next Chapter: [[howtos: | ||
Line 35: | Line 68: | ||
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
* Originally written by [[wiki: | * Originally written by [[wiki: | ||
- | < | + | |
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
- | {{tag>work_in_progress | + | {{tag>cli author_sycamorex}} |