O'Reilly logo

Introduction to Unix and Shell Programming by M. G. Venkateshmurthy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3

FILE ATTRIBUTES AND PERMISSIONS

Chapter Objectives
  • Ownership of files
  • File attributes
  • File permissions and techniques of manipulating them
  • The type of a file based on its contents
  • Changing the owner and the group of a file—the chown and chgrp commands
  • Times associated with a file
  • Default file permissions—the umask command

Files constitute the central (an integral) part of all Unix operating systems. These files have many attributes associated with them. Some of these attributes are permissions, ownership, time of creation and handling. A list of all the attributes associated with a file along with their meanings are discussed in this chapter. This chapter also discusses some of the commands like ls, chmod, file, and others, using which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required