|
25.
|
|
|
The <command>ls</command> command will allow you to see the files in the directory you are in (<acronym>ls</acronym> stands simply for "list"). Used with certain options, you can see sizes of files, when files where made, and permissions of files. For example, typing <screen>ls ~</screen> will show you the files that are in your home directory. Examples:
|
|
|
|
Príkaz <command>ls</command> vám umožní vidieť súbory v aktuálnom adresári (<acronym>ls</acronym> jednoducho znamená "list"). Použitím určitých argumentov môžete vidieť veľkosti súborov, kedy boli súbory vytvorené a práva súborov. Napríklad, ak napíšete <screen>ls ~</screen>, zobrazia sa súbory, ktoré sú vo vašom domovskom adresári. Príklady:
|
|
Translated and reviewed by
Erickq Holland
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:174(para)
|
|
26.
|
|
|
To list all the files (including hidden files), type: <screen>ls -a</screen>
|
|
|
|
Pre zobrazenie všetkých súborov (vrátane skrytých súborov), napíšte: <screen>ls -a</screen>
|
|
Translated and reviewed by
Erickq Holland
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:186(para)
|
|
27.
|
|
|
To list information in a long format, type: <screen>ls -l</screen>. This will include information about permissions, owner, and last modification time.
|
|
|
|
Pre zobrazenie informácií v dlhom formáte, napíšte: <screen>ls -l</screen>. Táto možnosť zahŕňa informácie o právach, vlastníkovi a čase poslednej zmeny.
|
|
Translated and reviewed by
Erickq Holland
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:192(para)
|
|
28.
|
|
|
To list your root patition, type: <screen>ls /</screen>
|
|
|
|
Pre zobrazenie koreňovej partície, napíšte: <screen>ls /</screen>
|
|
Translated and reviewed by
Erickq Holland
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:199(para)
|
|
29.
|
|
|
To list one time per line, type: <screen>ls -1</screen>
|
|
|
|
Pre zobrazenie informácií po jednom riadku, napíšte: <screen>ls -1</screen>
|
|
Translated and reviewed by
Erickq Holland
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:205(para)
|
|
30.
|
|
|
cp
|
|
|
|
cp
|
|
Translated and reviewed by
Erickq Holland
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:191(title)
|
|
31.
|
|
|
The <command>cp</command> command will make a copy of a file for you (<acronym>cp</acronym> stands simply for "copy"). For example, type: <screen>cp file foo</screen> to make a exact copy of <filename>file</filename> and name it <filename>foo</filename>, but the file <filename>file</filename> will still be there.
|
|
|
|
Príkaz <command>cp</command> pre vás urobí kópiu súboru (<acronym>cp</acronym> znamená "copy"). Napríklad, ak napíšete: <screen>cp file foo</screen>, urobí sa presná kópia súboru <filename>file</filename> a pomenuje sa <filename>foo</filename>, ale súbor <filename>file</filename> zostane na mieste.
|
|
Translated and reviewed by
Erickq Holland
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:214(para)
|
|
32.
|
|
|
mv
|
|
|
|
mv
|
|
Translated and reviewed by
Erickq Holland
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:202(title)
|
|
33.
|
|
|
<command>mv</command>: The <command>mv</command> command will move a file to a different location or will rename a file (<acronym>mv</acronym> stands simply for "move"). Examples:
|
|
|
|
<command>mv</command>: Príkaz <command>mv</command> presunie súbor na iné miesto alebo daný súbor premenuje (<acronym>mv</acronym> znamená "move"). Príklady:
|
|
Translated and reviewed by
Erickq Holland
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:227(para)
|
|
34.
|
|
|
To rename a file named <filename>file</filename> to <filename>foo</filename>, type: <screen>mv file foo</screen>.
|
|
|
|
Pre premenovanie súboru <filename>file</filename> na <filename>foo</filename>, napíšte: <screen>mv file foo</screen>.
|
|
Translated and reviewed by
Erickq Holland
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:236(para)
|