Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7861267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:38:23+00:00 2026-06-02T22:38:23+00:00

I have a Debian Linux system setup. I have written various shell script files

  • 0

I have a Debian Linux system setup. I have written various shell script files to do various tasks, some python scripts. These scripts output data files for storage, and other scripts act on the data files to produce more data files.

At the moment, all of these files are held in one folder under roots home directory.

Question is, where should they really go ?

Should script files go into /usr/bin ???

Where do data files go, home directory ???

What are the general rules.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T22:38:25+00:00Added an answer on June 2, 2026 at 10:38 pm

    I’d like to be able to give a helpful answer, but all I can say is “probably not” and “it depends”.

    “/usr/bin” on Debian should usually be the domain of the package system. Don’t put stuff there by hand, unless you really have to.

    Your stuff should probably not live in “/root” (which I figure is what you mean by “roots home directory”), but instead of the home of some other user account. Maybe /home/admin, assuming your user account is named admin. But manly because you should not ever log in as root, except for system recovery.

    You need to be more specific about what you are doing and why. If you are just messing around in a sandbox system to learn unix scripting, then the answer is probably “it does not matter”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a perfectly functioning perl script (written in bash terminal on debian linux)
I have setup Apache2 with SSL on a Debian Linux (squeeze) box. In the
I have created a java application for Debian Linux. Now I want that that
I have a FreeBSD box with Bash set up. I'm used to Debian Linux
I have set up WebDAv server on my Debian linux and this is working
I have deployed the WebDav server on Debian Linux and give appropriate permission. While
I have a Debian Linux server with two eSATA drives attached to it (NTFS,
Notice these two RedHat Linux system configuration settings: $ getconf GNU_LIBC_VERSION glibc 2.3.4 $
So I am new to linux stuff. I have set linux Debian up, I
I have a floating problem on mysql Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (i686)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.