Skip to main content

File Properties Commands

Various Linux commands that let you see and change the file properties.

A collection of 10 posts

lsattr command examples
File Properties Commands

lsattr Command Examples

The lsattr command lists the attributes of a file or directory in Linux.

ยท Sagar Sharma

chattr command in Linux
File Properties Commands

chattr Command Examples

With chattr command, you can make a file 'undeletable' even by root. Here are some common usage of the chattr command in Linux.

ยท Sagar Sharma

chown command
File Properties Commands

chown Command Examples

The chown command in Linux enables you to change the user and group ownership of a file or directory. Learn to use chown with some practical examples.

ยท Abhishek Prakash

stat command
File Properties Commands

stat Command Examples

You can get file permissions, size, mtime, ctime, atime, ownership and several other file attribute information using the stat command in Linux.

ยท Abhishek Prakash

file command in Linux
File Properties Commands

file Command Examples

Here are various examples of the file command in Linux to determine the actual type of file and gather related information.

ยท Abhishek Prakash

du command in Linux
File Properties Commands

du Command Examples

The du command in Linux is used for checking the size of directory. Here are various ways you can find the size of directory in Linux with the du command.

ยท Abhishek Prakash

chmod Command Examples
File Properties Commands

chmod Command Examples

This article will teach you how to change permissions in Linux with practical examples of chmod command.

ยท Eric Simard

touch command in Linux
File Properties Commands

touch Command Examples

Learn to use touch command in Linux with these useful and practical examples.

ยท Abhishek Prakash

chgrp command in Linux
File Properties Commands

chgrp Command Examples

chgrp command is used for changing the group of a file or directory in Linux. This guide shows you how to use chgrp command in Linux with practical examples.

ยท Abhishek Prakash

wc Command Examples
File Properties Commands

wc Command Examples

Some practical examples of wc command in Linux to count the number of lines, words and characters of a text file.

ยท Abhishek Prakash