You can use thisĬommand to see if another user has a file open.įor example, to display a list of all files in a file system, use the dir privileged EXEC command:Ħ16513 drwx 4096 07:11:35 +00:00. File descriptors are the internal representations of open files. Commands for Displaying Information About Filesĭisplays a list of files on a file system.ĭisplays more information about each of the files on a file system.ĭisplays information about a specific file.ĭisplays a list of open file descriptors. To display information about files on a file system, use one of the privileged EXEC commands listed Similarly, before copying a flash configuration file to another location, you might want to verify its filenameįor use in another command. For example, before copying a new configurationįile to flash memory, you might want to verify that the file system does not already contain a configuration file with the You can view a list of the contents of a file system before manipulating its contents. You can display the current default file system as specified by the cd command by using the pwd privileged EXEC command.ĭisplaying Information About Files on a File System For example, for all privileged EXEC commands that have the optional filesystem: argument, the system uses the file system specified by the cd command.īy default, the default file system is flash. You can set the default file system to omit the filesystem: argument from related commands. You can specify the file system or directory that the system uses as the default file system by using the cd filesystem: privileged EXEC command. Ymodem:-Obtain the file from a network machine by using the Ymodem protocol. System:-Contains the system memory, including the running configuration. Scp:-Session Control Protocol (SCP) server. You can copy a remote file to null to find its size. Unknown-The file system is an unknown type. Opaque-The file system is a locally generated pseudo file system (for example, the system) or a download interface, such as brimux. Nvram-The file system is for a NVRAM device. Network-The file system for network devices for example, an FTP server or and HTTP server. show file systems Field DescriptionsĪmount of memory in the file system in bytes.Īmount of free memory in the file system in bytes.ĭisk-The file system is for a flash memory device, USB flash, and crashinfo file. To display the available file systems on your device, use the show file systems privileged EXEC command as shown in this example for a standalone device: Only one user at a time can manage the software bundles and configuration files for a device stack. Use the show file systems privileged EXEC command to list all file systems, including the flash file systems in the device stack. For example, flash-3:, as viewed from the activeĭevice, refers to the same file system as does flash: on stack member 3. Of these flash file systems include the corresponding device member numbers. In a device stack, each of the flash devices from the various stack members can be viewed from the active device. On which the file system is being viewed. The default flash file system on the device is named flash.Īs viewed from the active device, flash: refers to the local flash device, which is the device attached to the same device Manage software bundles and configuration files. It also provides several commands to help you The flash file system is a single flash device on which you can store files. Additional References for Flash File System.Creating, Displaying and Extracting Files.Changing Directories and Displaying the Working Directory.Displaying Information About Files on a File System.
0 Comments
Leave a Reply. |