|
121.
|
|
|
Copy Files/Directories: - cp (file or directory name) (to directory or filename)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-concepts/C/basic-concepts.xml:603(term)
|
|
122.
|
|
|
The <application>cp</application> (CoPy) command will copy any files you specify. The <application>cp -r</application> command will copy any directories you specify.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-concepts/C/basic-concepts.xml:606(para)
|
|
123.
|
|
|
Remove Files/Directories: - rm (file or directory name)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-concepts/C/basic-concepts.xml:614(term)
|
|
124.
|
|
|
The <application>rm</application> (ReMove) command will delete any filename you specify. The <application>rm -r</application> command will remove any directory you specify, and all its contents.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-concepts/C/basic-concepts.xml:617(para)
|
|
125.
|
|
|
Move/Rename Files/Directories: - mv (file or directory name)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-concepts/C/basic-concepts.xml:625(term)
|
|
126.
|
|
|
The <application>mv</application> (MoVe) command will move/rename any file or directory you specify.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-concepts/C/basic-concepts.xml:628(para)
|
|
127.
|
|
|
Find Files/Directories: - locate (file or directory name)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-concepts/C/basic-concepts.xml:635(term)
|
|
128.
|
|
|
The <application>locate</application> command will search for any filename you specify. It uses an index of the files on your system to work quickly. To update this index, run the command <application>sudo updatedb</application>. This command is run automatically each day if you leave your computer on. It needs to be run with administrative privileges (see <xref linkend="root-and-sudo"/>).
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-concepts/C/basic-concepts.xml:638(para)
|
|
129.
|
|
|
You can also use wildcards to match one or more files, such as "*" (for all files) or "?" (to match one character).
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-concepts/C/basic-concepts.xml:649(para)
|
|
130.
|
|
|
Switching to Console mode
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-concepts/C/basic-concepts.xml:656(title)
|