|
1390.
|
|
|
\prompt \userinput{rmdir /tmp/example/newdirectory/}
|
|
|
type: terminal
|
|
|
|
\prompt \userinput{rmdir /tmp/pavyzdys/naujas-aplankas/}
|
|
Translated and reviewed by
Vytautas Bačiulis
|
|
|
|
Located in
./command-line/command-line.tex
:218
|
|
1391.
|
|
|
Introducing sudo
|
|
|
type: section{#2}
|
|
|
|
Susipažinimas su sudo
|
|
Translated and reviewed by
Vytautas Bačiulis
|
|
|
|
Located in
./command-line/command-line.tex
:220
|
|
1392.
|
|
|
When Ubuntu is first installed two accounts are created: your primary user account, and a ``root'' account that operates behind the scenes. This root account has the necessary privileges required for modifying system files and settings, whereas your primary user account does not. Rather than logging out of your primary user account and then logging back in as root, you can use the \commandlineapp{sudo} command to borrow root account privileges for performing administrative tasks such as installing or removing software, creating or removing new users, and modifying system files.
|
|
|
type: document
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
Paulius Sladkevičius @ hbee
|
|
|
|
Located in
./command-line/command-line.tex
:185
|
|
1393.
|
|
|
For example, the following command would open Ubuntu's default text editor \application{gedit} with root privileges. You will then be able to edit important system files that would otherwise be protected. The password you use with \commandlineapp{sudo} is the same password that you use to log in to your primary account, and is set up during the Ubuntu installation process.
|
|
|
type: document
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
Paulius Sladkevičius @ hbee
|
|
|
|
Located in
./command-line/command-line.tex
:187
|
|
1394.
|
|
|
\marginnote{When using \commandlineapp{sudo} in the terminal, you will be prompted to enter your password. You will not see any dots, stars, or other characters appearing in the terminal as you type your password, however, don't be put off\dash this is an extra security feature to help protect you from any prying eyes.}
|
|
|
type: document
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
Paulius Sladkevičius @ hbee
|
|
|
|
Located in
./command-line/command-line.tex
:189
|
|
1395.
|
|
|
\prompt \userinput{sudo gedit} [sudo] password for \emph{username}: Opening gedit\ldots
|
|
|
type: terminal
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
Paulius Sladkevičius @ hbee
|
|
|
|
Located in
./command-line/command-line.tex
:195
|
|
1396.
|
|
|
\warning{The {\ttfamily sudo} command gives you virtually unlimited access to important system files and settings. It is important you only use {\ttfamily sudo} if you understand what you are doing. You can find out more about using {\ttfamily sudo} in \chaplink{ch:security}.}
|
|
|
type: document
|
|
|
|
\warning{Komanda {\ttfamily sudo} suteikia praktiškai neribotą prieigą prie svarbių sistemos failų ir nustatymų. {\ttfamily sudo} naudokite tik tuo atveju, jei tikrai žinote, ką darote. Sužinoti daugiau apie {\ttfamily sudo} panaudojimą galite skyriuje \chaplink{ch:security}.}
|
|
Translated and reviewed by
Vytautas Bačiulis
|
|
|
|
Located in
./command-line/command-line.tex
:233
|
|
1397.
|
|
|
Managing software through the terminal
|
|
|
type: section{#2}
|
|
|
|
Programinės įrangos valdymas naudojantis terminalu
|
|
Translated and reviewed by
Vytautas Bačiulis
|
|
|
|
Located in
./command-line/command-line.tex
:235
|
|
1398.
|
|
|
In Ubuntu there are a number of ways to manage your software. \acronym{GUI} tools such as the \application{Ubuntu Software Center} and \application{Synaptic Package Manager} were discussed in \chaplink{ch:software-management}, however, many people prefer to use the \commandlineapp{apt} command (Advanced Packaging Tool) to manage their software from within the terminal. \commandlineapp{Apt} is extremely versatile and encompasses several tools, however, the most commonly used \commandlineapp{apt} tool is \commandlineapp{apt-get}.
|
|
|
type: document
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
Paulius Sladkevičius @ hbee
|
|
|
|
Located in
./command-line/command-line.tex
:207
|
|
1399.
|
|
|
Using apt-get
|
|
|
type: subsection{#2}
|
|
|
|
apt-get naudojimas
|
|
Translated and reviewed by
Vytautas Bačiulis
|
|
|
|
Located in
./command-line/command-line.tex
:248
|