课程: Linux: Files and Permissions
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Creating links to files and dirs
- [Instructor] When organizing your workspace, it can be advantageous to create links or shortcuts to your files and directories. For instance, you could have a link in your home directory called Netdrive, that points to a network drive that's at /media/network/servers/user1/files. This saves time browsing to it as it's a shortcut right in your home directory. You could also have a link in your home directory called Photos that points to a photo directory, deep within the operating system. We have two different kinds of links, symbolic links and hard links. We'll start out by creating hard links. In a terminal, let's create a directory for this exercise by typing in mkdir space tilde slash lnexercise and hit Enter. Now, change into it by typing in cd space tilde slash lnexercise and hit Enter again, and verify your path with pwd. Now, let's create a file by typing in touch space file.txt, and a directory by typing in…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
Understanding filesystem paths4 分钟 18 秒
-
(已锁定)
Creating files and dirs4 分钟 38 秒
-
(已锁定)
Copying files and dirs4 分钟 39 秒
-
(已锁定)
Moving and renaming files and dirs4 分钟 11 秒
-
(已锁定)
Deleting files and dirs3 分钟 44 秒
-
(已锁定)
Creating links to files and dirs6 分钟 24 秒
-
(已锁定)
Making file manipulation safe2 分钟 12 秒
-
(已锁定)
Challenge: Linux files3 分钟 21 秒
-
(已锁定)
Solution: Linux files3 分钟 45 秒
-
-
-
-