Translations by Jen Ockwell
Jen Ockwell has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.
1. |
ubuntu-doc@lists.ubuntu.com (Ubuntu Documentation Project)
|
|
2007-10-07 |
ubuntu-doc@lists.ubuntu.com (Ubuntu Documentation project)
|
|
3. |
2006-09-07
|
|
2007-10-07 |
07/09/2006
|
|
4. |
Placeholder.
|
|
2007-10-07 |
Placeholder.
|
|
5. |
Credits and License
|
|
2008-07-20 |
Credits and Licence
|
|
7. |
This document is made available under the Creative Commons ShareAlike 2.5 License (CC-BY-SA).
|
|
2008-07-20 |
This document is made available under the Creative Commons ShareAlike 2.5 Licence (CC-BY-SA).
|
|
12. |
Ubuntu Documentation Project
|
|
2008-07-20 |
Ubuntu Documentation Project
|
|
13. |
Canonical Ltd. and members of the <placeholder-1/>
|
|
2008-07-20 |
Canonical Ltd. and members of the <placeholder-1/>
|
|
14. |
The Ubuntu Documentation Project
|
|
2008-07-20 |
The Ubuntu Documentation Project
|
|
15. |
Using this Guide
|
|
2007-10-07 |
Using this Guide
|
|
18. |
This guide will make you familiar with basic GNU/Linux shell commands. It is not intended to be a complete guide to the command line, just an introduction to complement Ubuntu's graphical tools.
|
|
2007-10-07 |
This guide will make you familiar with basic GNU/Linux shell commands. It is not intended to be a complete guide to the command line, just an introduction to complement Ubuntu's graphical tools.
|
|
19. |
All command names, file names or paths to directories will be shown using a <command>monospace font</command>.
|
|
2007-10-07 |
All command names, file names or paths to directories will be shown using a <command>monospace font</command>.
|
|
20. |
All the commands on this guide are to be issued from a command prompt in a <application>Terminal</application> and will be shown as: <screen>command to type</screen>
|
|
2007-10-07 |
All the commands on this guide are to be issued from a command prompt in a <application>Terminal</application> and will be shown as: <screen>command to type</screen>
|
|
23. |
To open a <application>Terminal</application> choose <menuchoice><guimenu>Applications</guimenu><guimenuitem>Accessories</guimenuitem><guimenuitem>Terminal</guimenuitem></menuchoice>.
|
|
2011-05-07 |
To open a <application>Terminal</application> choose <menuchoice><guimenu>Applications</guimenu><guimenuitem>Accessories</guimenuitem><guimenuitem>Terminal</guimenuitem></menuchoice>.
|
|
24. |
File and Directory Commands
|
|
2007-10-07 |
File and Directory Commands
|
|
25. |
cd
|
|
2007-10-07 |
cd
|
|
27. |
To navigate into the root directory, type: <screen>cd /</screen>
|
|
2007-10-07 |
To navigate into the root directory, type: <screen>cd /</screen>
|
|
28. |
To navigate to your home directory, type: <screen>cd</screen> or <screen>cd ~</screen>
|
|
2007-10-07 |
To navigate to your home directory, type: <screen>cd</screen> or <screen>cd ~</screen>
|
|
30. |
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
2007-10-07 |
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
31. |
To navigate to the previous directory (or back), type: <screen>cd -</screen>
|
|
2007-10-07 |
To navigate to the previous directory (or back), type: <screen>cd -</screen>
|
|
32. |
To navigate through multiple levels of directories at once, specify the full directory path that you want to go to. For example, type: <screen>cd /var/www</screen> to go directly to the <filename class="directory">/www</filename> subdirectory of <filename class="directory">/var/</filename>. As another example, type: <screen>cd ~/Desktop</screen> to move you to the <filename class="directory">Desktop</filename> subdirectory inside your home directory.
|
|
2008-07-20 |
To navigate through multiple levels of directories at once, specify the full directory path that you want to go to. For example, type: <screen>cd /var/www</screen> to go directly to the <filename class="directory">/www</filename> subdirectory of <filename class="directory">/var/</filename>. As another example, type: <screen>cd ~/Desktop</screen> to move you to the <filename class="directory">Desktop</filename> subdirectory inside your home directory.
|
|
33. |
pwd
|
|
2007-10-07 |
pwd
|
|
36. |
ls
|
|
2007-10-07 |
ls
|
|
39. |
cp
|
|
2007-10-07 |
cp
|
|
41. |
mv
|
|
2007-10-07 |
mv
|
|
43. |
rm
|
|
2007-10-07 |
rm
|
|
45. |
By default, <command>rm</command> will not remove directories. To remove a directory, you must use the <command>-R</command> option. For example, <screen>rm -R foobar</screen> will remove the directory foobar, <emphasis role="strong">and all of its contents!</emphasis>
|
|
2008-07-20 |
By default, <command>rm</command> will not remove directories. To remove a directory, you must use the <command>-R</command> option. For example, <screen>rm -R foobar</screen> will remove the directory foobar, <emphasis role="strong">and all of its contents!</emphasis>
|
|
46. |
mkdir
|
|
2007-10-07 |
mkdir
|
|
49. |
df
|
|
2007-10-07 |
df
|
|
50. |
The <command>df</command> command displays filesystem disk space usage for all partitions. <screen>df -h</screen> will give information using megabytes (M) and gigabytes (G) instead of blocks (<emphasis role="strong">-h</emphasis> means "human-readable").
|
|
2007-10-07 |
The <command>df</command> command displays filesystem disk space usage for all partitions. <screen>df -h</screen> will give information using megabytes (M) and gigabytes (G) instead of blocks (<emphasis role="strong">-h</emphasis> means "human-readable").
|
|
51. |
free
|
|
2007-10-07 |
free
|
|
52. |
The <command>free</command> command displays the amount of free and used memory in the system. <screen>free -m</screen> will give the information using megabytes, which is probably most useful for current computers.
|
|
2007-10-07 |
The <command>free</command> command displays the amount of free and used memory in the system. <screen>free -m</screen> will give the information using megabytes, which is probably most useful for current computers.
|
|
53. |
top
|
|
2007-10-07 |
top
|
|
54. |
The <command>top</command> command displays information on your GNU/Linux system, running processes and system resources, including CPU, RAM & swap usage and total number of tasks being run. To exit <application>top</application>, press <keycap>q</keycap>.
|
|
2007-10-07 |
The <command>top</command> command displays information on your GNU/Linux system, running processes and system resources, including CPU, RAM & swap usage and total number of tasks being run. To exit <application>top</application>, press <keycap>q</keycap>.
|
|
55. |
uname
|
|
2007-10-07 |
uname
|
|
56. |
The <command>uname</command> command with the <emphasis role="strong">-a</emphasis> option, prints all system information, including machine name, kernel name & version, and a few other details. Most useful for checking which kernel you're using.
|
|
2007-10-07 |
The <command>uname</command> command with the <emphasis role="strong">-a</emphasis> option, prints all system information, including machine name, kernel name & version, and a few other details. Most useful for checking which kernel you're using.
|
|
57. |
lsb_release
|
|
2007-10-07 |
lsb_release
|
|
58. |
The <command>lsb_release</command> command with the <emphasis role="strong">-a</emphasis> option prints version information for the Linux release you're running. For example, typing: <screen>lsb_release -a</screen> will give you: <screen>
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04 LTS
Codename: lucid</screen>
|
|
2011-05-07 |
The <command>lsb_release</command> command with the <emphasis role="strong">-a</emphasis> option prints version information for the Linux release you're running. For example, typing: <screen>lsb_release -a</screen> will give you: <screen>
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04 LTS
Codename: lucid</screen>
|
|
59. |
Executing Commands with Elevated Privileges
|
|
2007-10-07 |
Executing Commands with Elevated Privileges
|
|
60. |
The following commands will need to be prefaced with the <command>sudo</command> command. Please see <ulink url="https://help.ubuntu.com/community/RootSudo">RootSudo</ulink> for information on using <command>sudo</command>.
|
|
2007-10-07 |
The following commands will need to be prefaced with the <command>sudo</command> command. Please see <ulink url="https://help.ubuntu.com/community/RootSudo">RootSudo</ulink> for information on using <command>sudo</command>.
|
|
61. |
Adding a New Group
|
|
2007-10-07 |
Adding a New Group
|
|
62. |
The <command>addgroup</command> command is used to create a new group on the system. To create a new group, type: <screen>addgroup newgroup</screen> The above command will create a new group called <emphasis role="strong">newgroup</emphasis>.
|
|
2007-10-07 |
The <command>addgroup</command> command is used to create a new group on the system. To create a new group, type: <screen>addgroup newgroup</screen> The above command will create a new group called <emphasis role="strong">newgroup</emphasis>.
|
|
64. |
The <command>adduser</command> is used to create new users on the system. To create a new user, type: <screen>adduser newuser</screen> The above command will create a new user called <emphasis role="strong">newuser</emphasis>.
|
|
2007-10-07 |
The <command>adduser</command> is used to create new users on the system. To create a new user, type: <screen>adduser newuser</screen> The above command will create a new user called <emphasis role="strong">newuser</emphasis>.
|
|
65. |
To assign a password for the new user use the <command>passwd</command> command: <screen>passwd newuser</screen>
|
|
2007-10-07 |
To assign a password for the new user use the <command>passwd</command> command: <screen>passwd newuser</screen>
|
|
66. |
Finally, to assign the new user to the new group, type: <screen>adduser newuser newgroup</screen>
|
|
2007-10-07 |
Finally, to assign the new user to the new group, type: <screen>adduser newuser newgroup</screen>
|
|
68. |
The default behavior for a command may usually be modified by adding a <emphasis role="strong">-- <emphasis>option</emphasis></emphasis> to the command. The <link linkend="ls"><command>ls</command></link> command, for example, has a <emphasis role="strong">-s</emphasis> option so that <command>ls -s</command> will include file sizes in the listing. There is also a <emphasis role="strong">-h</emphasis> option to get those sizes in a "human readable" format.
|
|
2007-10-07 |
The default behavior for a command may usually be modified by adding a <emphasis role="strong">-- <emphasis>option</emphasis></emphasis> to the command. The <link linkend="ls"><command>ls</command></link> command, for example, has a <emphasis role="strong">-s</emphasis> option so that <command>ls -s</command> will include file sizes in the listing. There is also a <emphasis role="strong">-h</emphasis> option to get those sizes in a "human readable" format.
|
|
69. |
Options can be grouped in clusters so <screen>ls -sh</screen> is exactly the same command as <screen>ls -s -h</screen> Most options have a long version, prefixed with two dashes instead of one, so even <screen>ls --size --human-readable</screen> is the same command.
|
|
2007-10-07 |
Options can be grouped in clusters so <screen>ls -sh</screen> is exactly the same command as <screen>ls -s -h</screen> Most options have a long version, prefixed with two dashes instead of one, so even <screen>ls --size --human-readable</screen> is the same command.
|
|
71. |
<emphasis role="strong"><emphasis>command</emphasis> --help</emphasis> and <emphasis role="strong">man <emphasis>command</emphasis></emphasis> are the two most important tools at the command line.
|
|
2007-10-07 |
<emphasis role="strong"><emphasis>command</emphasis> --help</emphasis> and <emphasis role="strong">man <emphasis>command</emphasis></emphasis> are the two most important tools at the command line.
|
|
72. |
Virtually all commands understand the <emphasis role="strong">-h</emphasis> (or <emphasis role="strong">--help</emphasis>) option which will produce a short usage description of the command and it's options, then exit back to the command prompt. Type <screen>man -h</screen> or <screen>man --help</screen> to see this in action.
|
|
2007-10-07 |
Virtually all commands understand the <emphasis role="strong">-h</emphasis> (or <emphasis role="strong">--help</emphasis>) option which will produce a short usage description of the command and it's options, then exit back to the command prompt. Type <screen>man -h</screen> or <screen>man --help</screen> to see this in action.
|
|
73. |
Every command and nearly every application in Linux will have a man (manual) file, so finding them is as simple as typing <command>man command</command> to bring up a longer manual entry for the specified command. For example, <screen>man mv</screen> will bring up the <command>mv</command> (move) manual.
|
|
2007-10-07 |
Every command and nearly every application in Linux will have a man (manual) file, so finding them is as simple as typing <command>man command</command> to bring up a longer manual entry for the specified command. For example, <screen>man mv</screen> will bring up the <command>mv</command> (move) manual.
|
|
74. |
Move up and down the man file with the arrow keys, and quit back to the command prompt with <keycap>q</keycap>.
|
|
2007-10-07 |
Move up and down the man file with the arrow keys, and quit back to the command prompt with <keycap>q</keycap>.
|