Yahoo Answers is shutting down on 4 May 2021 (Eastern Time) and, as of 20 April 2021 (Eastern Time), the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Anonymous asked in Computers & InternetProgramming & Design · 2 months ago

Unix Programming?

Imagine you’ve written a virus,, that copies all of the files from /home/misc/gwirka/ every morning, then moves itself to some new location to avoid detection.Why should your virus refer to my user directory using an absolute, not relative filename?

2 Answers

  • 2 months ago

    UNIX is an operating system which was first developed in the 1960s, and has been under constant development ever since. By operating system, we mean the suite of programs which make the computer work. It is a stable, multi-user, multi-tasking system for servers, desktops and laptops.

  • 2 months ago

    "Unix Programming" is not a question.

    That said, using an absolute path will let the script ( isn't inconspicuous at all) locate the target directory/file regardless of where the script is located or how it's executed (both matter.)

    All you had to do was search ANY reasonable search engine for something like "linux absolute v relative paths" and you would have had an instant answer.

Still have questions? Get answers by asking now.