课程: Learning Linux Command Line
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Modify file permissions
- [Instructor] Let's practice changing permissions on files. I have a small batch script here. Called test.sh. Which is a simple program that just prints out a line of text when we run it. To run this, I can treat it like a command using a period and a slash in front of it. The period refers to the current working directory and the slash it tells the shell to look inside there to find this program. Doing this, the shell will run or execute my program. An executable file means the file can be run as a program on its own without having to be loaded into another program first. Again, this file is just an example. And if you're curious to learn more about writing programs with Bash, take a look at learning Bash scripting here on LinkedIn Learning. Let's take a look at the permissions on this file. I'll write ls -l test.h. Here in the permission mode string, I can see that my user can read, write and execute. Anyone in the…
内容
-
-
-
-
-
The Linux file system6 分钟 18 秒
-
(已锁定)
Understanding file paths4 分钟 50 秒
-
(已锁定)
Navigating the file system6 分钟 58 秒
-
(已锁定)
Exploring the output of the ls command2 分钟 33 秒
-
(已锁定)
Create and remove directories3 分钟 36 秒
-
(已锁定)
Copy, move, and delete files and directories7 分钟 53 秒
-
(已锁定)
Find files from the command line2 分钟 10 秒
-
(已锁定)
Understand user roles and sudo6 分钟 3 秒
-
(已锁定)
Understand file permissions5 分钟 57 秒
-
(已锁定)
Modify file permissions7 分钟 4 秒
-
(已锁定)
Create hard and symbolic links3 分钟 26 秒
-
(已锁定)
Challenge: Fix broken syntax26 秒
-
(已锁定)
Solution: Fix broken syntax1 分钟 24 秒
-
(已锁定)
Challenge: Practice working with files34 秒
-
(已锁定)
Solution: Practice working with files32 秒
-
-
-
-