
Media Processing Server System Operator’s Guide
Page 124 # P0602484 Ver: 2.7
File Listing
Use the list command (ls) to display a list of files in a directory. Modify the output of
ls by adding switches. Common ls commands are:
See the illustration on page 99 for examples of these commands.
If a pathname is specified in the ls command, the system lists only the files in that
directory. In addition, the switches can be combined (i.e., ls -al).
File Removal
Use the remove command (rm) to remove an unnecessary file. Use the syntax
rm -i <filename>.
!
If files are removed, they cannot be recovered unless there is a backup copy.
Other commands can be used to remove (empty) directories. However, all the
directories on the Media Processing Server are important to the system.
!
Do not remove any directories without consulting the local Media Processing
Server Series support staff and application developers. Never remove any
system-level directories unless instructed to do so during system upgrades.
To remove a directory, use the command rmdir -i <directory_name>. To
remove a directory and all its files and subdirectories, use the command
rm -ir <directory_name>.
!
The -i switch shown above causes the system to provide a warning prompt
before removal of any directories or files. It is important to use this switch when
using the rm and rmdir commands; otherwise, the result may be the removal
of such files without prompting.
For more information about these options and possible scenarios, refer to the Solaris
documentation of these commands.
command meaning
ls lists all the files in the working directory,
except hidden files
ls -l lists all the files in the directory with their
size, the time they were last modified, and
their file permissions
ls -a lists all the files in the working directory,
including hidden files
Comentarios a estos manuales