Skip to content

Linux Commands

file Command in Linux

Summary

The file command is a standard Unix program used to determine the type of a file. It tests each argument in an attempt to categorize it. These tests check the results of file system calls, the magic number, and according to language-specific tests.

sort Command in Linux

Summary

The sort command is a powerful tool in Linux for ordering lines of text in a file or from standard input. It can sort alphabetically, numerically, in reverse order, and based on specific fields within each line.