Skip to content
The Chat Archive
gpt-4.1-mini-2025-04-14· OpenAI WildChat-4.8M (AI2)

plz give me the terminal command to create a folder link named pfx , which links to…

  1. User

    plz give me the terminal command to create a folder link named pfx , which links to /home/glitch/Downloads/DOOM Eternal and it will in the same folder /home/glitch/Downloads/DOOM Eternal

  2. Assistant

    To create a symbolic link named pfx inside the folder /home/glitch/Downloads/DOOM Eternal that links back to /home/glitch/Downloads/DOOM Eternal itself, you can use the following command:

    ln -s /home/glitch/Downloads/DOOM\ Eternal /home/glitch/Downloads/DOOM\ Eternal/pfx
    

    Explanation:

    • ln -s creates a symbolic link.
    • The first path is the target (/home/glitch/Downloads/DOOM Eternal).
    • The second path is the link name inside the same folder (/home/glitch/Downloads/DOOM Eternal/pfx).
    • Note the use of backslash \ before the space in DOOM Eternal to escape the space.

    If you are already inside /home/glitch/Downloads/DOOM Eternal directory, you can run:

    ln -s . pfx
    

    This will create a symbolic link called pfx in the current directory pointing to the current directory itself.