From the course: Practical Linux for Network Engineers: Part 1

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Cisco IOS Linux commands, part 2

Cisco IOS Linux commands, part 2

(tranquil new-age music) - [Instructor] Now if you've worked with the Cisco IOS file system configuration files and software images, you've probably already used Linux commands. (tranquil new-age music) Now there are obviously some differences, dir here shows us that, cd takes me to the root of flash, where cd here takes me to my home directory. I can use a command such as rm test to remove the directory test. But notice we're told that we can't remove that, because it has files in it. Dir here, rm test, notice we're told here we can't remove that directory, but we could do that, and remove the directory on Linux. Let's try delete on Cisco. Notice with delete, we have the same problem. Delete here, is a command that's not currently found. Rm -r test, that's not a valid option on Cisco. So rm ?, flash0:?, test, doesn't allow us to do it. But having a look in the Cisco documentation, we have this option. To delete a directory will all its files and subdirectories, use delete /force…

Contents