Common Cisco file management commands

Present Working Directory

SW1# pwd

Show directory

SW1# dir ?

Change Directory

SW1# cd

Copy

SW1# copy running-config backup.running.txt

Delete and remove

SW1# delete flash:/sing-file.txt
SW1# rm folders-directories

Delete a directory in flash: (without prompt)

SW1# delete /force /recursive flash:

Show flash

SW1# show flash

Erase (wipe configuration & start with default config)

SW1# erase ?

Format

SW1# format ?

More

SW1# more view-my-config.txt

verify (verify checksum or compute MD5 signature for a file)

SW1# verify flash:MyNewIOS.bin

Make directory

SW1# mkdir old-config-folder

FAT filesystem check fsck

SW1# fsck ?

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top