课程: Linux: Files and Permissions
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Creating files and dirs
- It's difficult to use an operating system for very long before you need to create files and directories. We're going to start out creating directories and then move on to files. To create a directory or folder, we'll use the "mkdir" command. Type in "mkdir ~/newdir" and hit enter. And then verify by typing in "ls - l ~" and hit enter again. Tilde is the shortcut to your home directory. You can see the new "Dir" directory in the output. To keep this exercise contained, let's change into our new directory before making any more files or directories. Type in "cd ~/newdir/" and hit enter. If you see a trailing "slash" from a command line, it means I'm doing a shortcut and hitting my tab key, and the shell fills out the line for me. You can always double check your path by typing in "PWD" and hit enter. You can always double check your paths by typing in PWD which gives you the absolute path from the top level directory.…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
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 秒
-
-
-
-