CheatSnip

Related

Show File Start

linux

Output first part of files

Concatenate Files

linux

Display file contents

View File Contents

linux

View file contents interactively

linux/tail

Show File End

Output last part of files

filesystem
text

Command

tail

Explanation

tail is used to output the last part of files. It outputs the last part of the files.

Examples

Show last 10 lines

tail file.log

Follow log in real-time

tail -f file.log

More

Create File or Update Timestamps

linux

Create new empty files or update existing file timestamps.

List Directory Contents

linux

List files and directories in the current or specified directory with various formatting options.

Copy Files

linux

Copy files and directories from one location to another.

CheatSnip

Lightning-fast access to essential developer commands and code snippets. Search, copy, and master your favorite tools with our comprehensive cheat sheets.

Poorna Prakash

Quick Links

Git CommandsDockerNPMKubernetesYour Favorites

Legal

Terms & ConditionsPrivacy PolicyCookie Preferences

Company

About UsContact

© 2025 CheatSnip. All rights reserved.

Made with ❤️ for developers