课程: Ubuntu Linux: Essential Commands
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Work with files and directories
- [Instructor] Working with files and directories is an important part of administering a Linux system. Let's take a look at how to create, move, copy and delete files and directories. Let's start out with the basics by creating a file here at the command line. The simplest thing we can do to create a file is to use the touch command which creates an empty file with a given name. I'll write 'touch myfile'. And then in order to see that file, we can use the ls command, which remember, is short for list, to list the files in the directory. The files that I see here are inside of my home folder or home directory. I know I'm in my home directory because unless it's been configured otherwise, that's where terminal window opens up. And I can see that on my prompt, I have a tilde representing my home directory. To check though I can type pwd to print the working directory. In this case, working means the directory you're making changes within. To change to a different directory I can use the…
内容
-
-
-
-
(已锁定)
Files on Linux10 分钟 27 秒
-
(已锁定)
Text files8 分钟 52 秒
-
(已锁定)
Work with files and directories10 分钟 16 秒
-
File links7 分钟 27 秒
-
(已锁定)
Finding files4 分钟 40 秒
-
(已锁定)
Input/output redirection6 分钟 18 秒
-
(已锁定)
Compare text files4 分钟 43 秒
-
(已锁定)
Compare non-text files3 分钟 20 秒
-
(已锁定)
Compress and decompress files9 分钟 12 秒
-
(已锁定)
Explore regular expressions3 分钟 36 秒
-
(已锁定)
Change files programmatically4 分钟 42 秒
-
(已锁定)
-
-