What is the most appropriate folder to store both scripts and their output (some txt files) on linux os? The scripts and their directory need to have 755 permission.
Is there an appropriate directory, that already exists, for that purpose or where should I create one?
The typical directory for the scripts is
~/bin
, which needs to be created. Do not mix scripts and output! The output files should be stored separately, in directories named according to the naming convention that suits your work best. Often, these directories are named per project, and there is more than one such directory. The directories can be named, for example,~/prj_name/in
and~/prj_name/out
for input and output, respectively. But there is no convention for those.