|
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:
|
|
|
|
Ukaz <command>ls</command> vam bo pokazal seznam vseh datotek, ki se nahajajo v trenutni mapi (<acronym>ls</acronym> je kratica za "list" (seznam)). Z uporabo dodatnih možnosti lahko vidite tudi velikost datotek, kdaj so bile ustvarjene in dovoljenja datotek. Na primer, če vpišete <screen>ls ~</screen>, vam bo Terminal prikazal vse datoteke in mape v vaši domači mapi
|
|
Translated and reviewed by
Klemen Košir
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:174(para)
|
|
26.
|
|
|
To list all the files (including hidden files), type: <screen>ls -a</screen>
|
|
|
|
Za prikaz vseh datotek (tudi skritih), vpišite: <screen>ls -a</screen>
|
|
Translated and reviewed by
Aljoša Vidmar
|
|
|
|
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.
|
|
|
|
Za prikaz informacij v dolgi obliki, vpišite <screen>ls -l</screen>. To vključuje informacije o dovoljenjih, lastniku in času zadnje spremembe.
|
|
Translated and reviewed by
Aljoša Vidmar
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:192(para)
|
|
28.
|
|
|
To list your root patition, type: <screen>ls /</screen>
|
|
|
|
Za prikaz datotek v mapi root, vpišite: <screen>ls /</screen>
|
|
Translated and reviewed by
Klemen Košir
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:199(para)
|
|
29.
|
|
|
To list one time per line, type: <screen>ls -1</screen>
|
|
|
|
Za prikaz vsake datoteke v svoji vrsti, vpišite: <screen>ls -1</screen>
|
|
Translated and reviewed by
Aljoša Vidmar
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:205(para)
|
|
30.
|
|
|
cp
|
|
|
|
cp
|
|
Translated and reviewed by
Aljoša Vidmar
|
|
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:214(para)
|
|
32.
|
|
|
mv
|
|
|
|
mv
|
|
Translated and reviewed by
Aljoša Vidmar
|
|
|
|
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>: Ukaz <command>mv</command> bo premaknil datoteko na drugo lokacijo ali pa datoteko preimenoval (<acronym>mv</acronym> je kratica za "move" (premakni)). Primeri:
|
|
Translated and reviewed by
Klemen Košir
|
|
|
|
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>.
|
|
|
|
Ta preimenovanje datoteke <filename>file</filename> v <filename>foo</filename>, vpišite <screen>mv file foo</screen>.
|
|
Translated and reviewed by
Klemen Košir
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:236(para)
|