Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:handbook:commands [2010/07/19 20:09] – add touch command linea | en:handbook:commands [2016/10/01 05:30] (current) – Examples are more fit to illustrate renaming than copying of file contents. hgt | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| < | < | ||
| - | To list all the commands available on the system, you can simply press the Tab button on the left of the keyboard twice. For commands provided by the Busybox utility you can type | + | To list all the commands available on the system, you can simply press the Tab button on the left of the keyboard twice. For commands provided by the Busybox utility you can type: |
| - | < | + | |
| + | < | ||
| ===== List the files in a directory ===== | ===== List the files in a directory ===== | ||
| Line 60: | Line 61: | ||
| ===== Move (rename) files or directories ===== | ===== Move (rename) files or directories ===== | ||
| - | The mv command takes the contents of a file and copies it to a new file, then deletes | + | When source and target file are in the same file system |
| + | |||
| < | < | ||
| - | It can also rename directories: | + | It can also rename directories |
| < | < | ||
| - | Note the contents of the file or directory will be overwritten if they already exist. | + | Move files (and directories) to a new directory: |
| + | |||
| + | < | ||
| + | |||
| + | When renaming is not possible, the mv command takes the contents of a file and copies it to a new file, then deletes | ||
| ===== Create a new file ===== | ===== Create a new file ===== | ||
| Line 99: | Line 104: | ||
| < | < | ||
| + | |||
| + | <note important> | ||
| Note you can also use the //-i// option to remove files or directories and their contents interactively: | Note you can also use the //-i// option to remove files or directories and their contents interactively: | ||
| Line 159: | Line 166: | ||
| ===== Talk on IRC ===== | ===== Talk on IRC ===== | ||
| - | To discuss and transfer files via the many IRC servers available, SliTaz provides | + | To discuss and transfer files via the many IRC servers available, SliTaz provides |
| - | + | ||
| - | < | + | |
| - | $ rhapsody | + | |
| - | / | + | |
| - | / | + | |
| - | </ | + | |
| ===== Download files ===== | ===== Download files ===== | ||
| Line 171: | Line 172: | ||
| To download various file formats on the internet, you have the //wget// command. To grab a simple html page, the contents of a folder or an entire website: | To download various file formats on the internet, you have the //wget// command. To grab a simple html page, the contents of a folder or an entire website: | ||
| - | < | + | < |
| ===== List the available partitions ===== | ===== List the available partitions ===== | ||