CheatSnip

Related

Create File or Update Timestamps

linux

Create new empty files or update existing file timestamps.

Make Directory

linux

Create new directories, including nested ones with the `-p` flag.

List Directory Contents

linux

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

linux/ln

Create Links

Make links between files

filesystem
links
symbolic

Command

ln

Explanation

ln creates hard and symbolic links between files.

Examples

Create symbolic link

ln -s /path/to/file linkname

Create hard link

ln file.txt hardlink.txt

Force update symbolic link

ln -sf new_target existing_link

More

Copy Files

linux

Copy files and directories from one location to another.

Move or Rename Files

linux

Move or rename files and directories.

Remove Files or Directories

linux

Delete files or directories permanently.

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