How to Create Shortcuts / Symbolic Links Via Linux Command Line

Symbolic links on Linux are like shortcuts on Windows. Creating these links can be very useful when you want to use relative file paths or would like to restrict access to a specific folder, but still give access to a certain file.

To create a symbolic link use the following command.

ln -s /source/file/location /symbolic/link/destination

In this case you would first provide the existing file or folder that you want to create a symbolic link for and then provide the file path where you want the symbolic link to appear.

Avoid making a symbolic link of a symbolic link, this could result in a loop or a broken link.

Related Articles

Related Questions

Is an 850W PSU enough for an RTX 5080, or should I upgrade to 1000W?

I've been using the same PC build for several years and recently upgraded the graphics card to an ASUS TUF RTX 5080 for a...

What CPU and RAM pair best with an MSI RTX 4070 12GB?

I'm putting together a new PC around an MSI RTX 4070 12GB and don't have a strict budget limit. I mainly want the best-balanced...

My Lenovo T14s connects to Wi‑Fi but has no internet while my phone works

I'm using a Lenovo T14s laptop with Windows 11 over Wi‑Fi. My phone connects to the same network and has a reliable internet connection,...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Tools

Erase Gemini Nano Banana Watermark

Below is a simple content eraser tool. It works very similar to the content aware fill tool that is used in Photoshop. You can...

Keep Your Screen Awake Tool

This simple online stay awake tool prevents your computer screen from going to sleep while you have this page open. It runs entirely in your...

Neural Network Simulation Tool

The Neural Network Visual Builder is an interactive, client-side tool designed to demystify deep learning. It allows users to drag-and-drop neural network layers to...

Ray Trace Simulator – Interactive Optical Ray Tracing Tool

This ray trace simulator lets you visualise how light rays move through an optical system in real time. You can trace beams as they...

Interactive CPU Architecture Simulator

This is an Interactive CPU Architecture Simulator that provides a hands-on, visual learning experience for understanding how a processor executes code. It models a...

AI Image Upscaler

Our AI Image Upscaler allows you to upload any image and instantly increase its resolution using advanced upscaling models. Choose between 2x, 3x or...

Latest Posts

Latest Questions