课程: Practical Linux for Network Engineers: Part 1
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Cisco IOS Linux commands, part 2 - Linux教程
课程: Practical Linux for Network Engineers: Part 1
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…