Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all I have a problem that I hope someone on this forum can provide a solution for. Originally posted in Ubuntu section, but I think it fits in here ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    3

    File redirection


    Hi all

    I have a problem that I hope someone on this forum can provide a solution for. Originally posted in Ubuntu section, but I think it fits in here better as not specific to Ubuntu.

    I have an application which looks in a particular directory for it's settings. For example \var\setting.txt

    These settings are stored in a text format and can be edited easily.

    I would prefer to keep this setting.txt file on a USB stick rather than the HDD for portability so that I can easily use the same settings on two linux PC's without having to redit them everytime.

    I have tried but cannot manipulate the application to look in a different location for this file, do you know if it is possible to "point" linux to another location when looking for the file?

    Thanks

    Gary

  2. #2
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    877
    Try symlink. See man ln for details.

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Posts
    3

    Solved

    Perfect. Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •