|
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.
|
|
|
|
Стандардното однесување на команда може да биде модификувано со додавање на <emphasis role="strong">-- <emphasis>опција</emphasis></emphasis> за командата. Командата <link linkend="ls"><command>ls</command></link> на пример, ја содржи <emphasis role="strong">-s</emphasis> опцијата <command>ls -s</command> која ќе ја вклучи големината на датотеките кои се листаат. Исто така, постои и <emphasis role="strong">-h</emphasis> опцијата која ќе ги прикаже големините во лесно разбирлив формат.
|
|
Translated and reviewed by
Андон Сикавица
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:336(para)
|
|
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.
|
|
|
|
Опциите можат да бидат групирани во кластери како <screen>ls -sh</screen> што е исто со <screen>ls -s -h</screen> Повеќето опции имаат и долга верзија, која се користи со помош на префикс од две цртички, наместо една, па така <screen>ls --size --human-readable</screen> претставува иста команда како претходната.
|
|
Translated and reviewed by
Андон Сикавица
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:347(para)
|
|
70.
|
|
|
"Man" and getting help
|
|
|
|
"Man" и добивање помош
|
|
Translated and reviewed by
Андон Сикавица
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:358(title)
|
|
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.
|
|
|
|
<emphasis role="strong"><emphasis>команда</emphasis> --help</emphasis> и <emphasis role="strong">man <emphasis>команда</emphasis></emphasis> се двете најважни алатки во командната линија.
|
|
Translated and reviewed by
Андон Сикавица
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:359(para)
|
|
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.
|
|
|
|
Скоро сите команди ја разбираат опцијата <emphasis role="strong">-h</emphasis> (или <emphasis role="strong">--help</emphasis>) која дава краток опис за користење на командата и нејзините опции, и на крај се враќа во командна линија. Внесете <screen>man -h</screen> или <screen>man --help</screen> за да ја видите оваа употреба.
|
|
Translated and reviewed by
Андон Сикавица
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:366(para)
|
|
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.
|
|
|
|
Секоја команда и скоро секоја апликација во Linux има man (manual - упатство) датотека. Пронаоѓањето е едноставно, само искуцајте <command>man команда</command> за да Ви се прикаже поголемо упатство за специфицираната команда. На пример, <screen>man mv</screen> ќе го прикаже упатството за <command>mv</command>.
|
|
Translated and reviewed by
Андон Сикавица
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:376(para)
|
|
74.
|
|
|
Move up and down the man file with the arrow keys, and quit back to the command prompt with <keycap>q</keycap>.
|
|
|
|
Движете се горе/доле со помош на стрелките на тастатурата, а за враќање во командна линија притиснете <keycap>q</keycap>.
|
|
Translated and reviewed by
Андон Сикавица
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:385(para)
|
|
75.
|
|
|
<screen>man man</screen> will bring up the manual entry for the <command>man</command> command, which is a good place to start.
|
|
|
|
<screen>man man</screen> ќе го прикаже упатството за самата команда <command>man</command> и претставува добро почетно место за добивање на помош.
|
|
Translated and reviewed by
Андон Сикавица
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:390(para)
|
|
76.
|
|
|
<screen>man intro</screen> is especially useful - it displays the "Introduction to user commands" which is a well-written, fairly brief introduction to the Linux command line.
|
|
|
|
<screen>man intro</screen> е особено корисно. Прикажува „вовед во кориснички команди“ и е прилично добро напишан вовед во Linux командната линија.
|
|
Translated and reviewed by
Андон Сикавица
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:396(para)
|
|
77.
|
|
|
There are also <command>info</command> pages, which are generally more in-depth than <command>man</command> pages. Try <screen>info info</screen> for the introduction to info pages.
|
|
|
|
Исто така, постојат и <command>info</command> страници, кои вообичаено се поголеми од <command>man</command> страниците. Пробајте <screen>info info</screen> за вовед во info страниците.
|
|
Translated and reviewed by
Андон Сикавица
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:401(para)
|