Questions tagged [directory-structure]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
41 views

How to prevent an application from creating folder in my home directory?

It's really annoying that some applications are polluting my home directories. For example, MindMaster, an application developed by Edraw Inc., always creates a folder called Edraw in my home ...
0
votes
1answer
26 views

Recursively count all files ignoring certain directory paths

I want to recursively count all files contained in root ignoring all files contained in the following directory paths: root/*/build root/*/*/*/build how can I accomplish this?
0
votes
0answers
46 views

What should I do with a program directory for its installation?

I downloaded a tar of Ovito, now I don't how to continue. The principal idea is to place this in /opt, but is this a good idea? The directory structure is like the following ovito-2.9.0-x86_64 ├── ...
0
votes
1answer
35 views

cli can't find folder that is right there

I'll admit that i'm a noob at ubuntu, i only have it installed for 2 days. i wanted to delete the stacer config folder through the terminal but it says it can't find it, even when i typed rmdir with ...
0
votes
2answers
30 views

What is a good location for a server-like application to save its permanent data?

I have an application that needs to save some session information etc permanent data. What would be a good system directory for this? Something under var/ ?
0
votes
0answers
38 views

How to create directory with the following structure

I am using ubuntu 18.04.1 I found this guide but not sure how to do the directory structure. This is the structure: /home/my_at \--at .......... copy from SDK/examples Makefile ....... copy or ...
1
vote
1answer
1k views

Where is noatime safe to use?

I am trying to optimize my new fs layout, and I wondered, where is it safe to use noatime? I understand that e.g. mutt uses the access/creation/modify time, and whatever else may be using that, in ...
0
votes
0answers
494 views

Why does diff in Terminal say “No such file or directory” when the dir. exists?

I am trying to use 'diff' in Terminal in a way that is very similar to half a year ago, but now it doesn't work. I get the "No such file or directory" error even though the directories obviously exist....
1
vote
0answers
248 views

GitKraken access to /disk2/ missing [duplicate]

I've installed GitKraken from Snap. When I try to open a repository from my second disk, I see no /disk2/ directory in the list of directories under /. I suspect this is caused by application ...
0
votes
2answers
946 views

How do I change directory to get into a hidden folder/directory?

I have tried the following and I really don't understand the result. Can someone help? ~$ pwd /home/djj375 ~$ ls -ald .docker drwx------ 2 root root 4096 May 21 14:33 .docker ~$ realpath .docker /...
1
vote
2answers
2k views

Difference between /usr/local and ~/.local [duplicate]

I install .zip / .tar.gz programs in ~/.local/bin, but Ubuntu have /usr/local directory with content same as in ~/.local. So, what is difference between this directories except for sudo access?
9
votes
1answer
5k views

Why does /usr/local/bin not exist on my (Ubuntu 16.04) system?

I've just reinstalled Ubuntu 16.04 on my machine, and I'm in the process of installing everything I had installed previously. This includes a few programs that I put in /usr/local/bin, but that ...
0
votes
0answers
29 views

“remap” (probably wrong word) my /opt folder? [duplicate]

Long ago when I setup my Linux server, I installed the OS on a rather small SSD having intended on keeping all the large data on NAS drives. I didn't realize my /opt folder would get so large. It ...
1
vote
1answer
112 views

How can I rename a directory tree to match a tree saved in a file?

I have an old directory-tree-file created using find . -type d >old.txt. Now I want to rename an existing tree that has the same exact structure to mach the old tree. This question is related to ...
2
votes
1answer
98 views

Recursively number directories

I have the following directory structure: $ directory tree Data Data ├── Mercury ├── Venus ├── Earth │ ├── Australia │ └── Asia │ └── Japan | └── Hokkido ├── Mars ├── ...
0
votes
1answer
83 views

linking homedirectory

I run ubuntu 16.04 on sdc, with a home directory of some 156Gb. I recently installed Ubuntu 17.04 on sda. I want to use the home directory on sdc as my home directory on sda, but there is only 50 Gb ...
0
votes
1answer
4k views

How do I free up space of var

Still a greenee at Linux as there are so many different approaches/ways to do the same thing. When I attempt to update to Ubuntu 17 I receive: "The upgrade has aborted. The upgrade needs a total of ...
1
vote
1answer
32 views

Why doesn't dpkg -L show files under /usr/lib for this package?

I've installed the golang-1.8 package from this ppa and I can see that it's installed some stuff under /usr/lib, namely: /usr/lib$ ls -lha go-1.8/ total 48K drwxr-xr-x 4 root root 4,0K Abr 24 01:39 ...
0
votes
2answers
583 views

Linux directory structure for new application

I am writing a new Python application that I intend to distribute to several colleagues. Instead of my normal carefree attitude of just having everything self contained and run inside a folder in my ...
0
votes
1answer
30 views

When would multiple `///` be used between sub-directories?

I was digging through /var/log/plymouth-debug.log and spotted this line: [main.c:716] get_cache_file_for_mode:returning cache file '/var/lib/plymouth//boot-duration' I thought it was a typo so typed ...
8
votes
4answers
1k views

Remove all directories from within a parent directory except one and its descendents

I want to remove directory B and D. But i want to keep C and all its descendent files and directories. What's the command to remove all children directories of a parent directory except one directory ...
2
votes
2answers
2k views

www directory is not there when I open var

I am using Ubuntu 14.04. All the directories present in var are listed below: backups crash local log metrics run tmp cache lib lock mail opt spool Why is the www directory ...
0
votes
2answers
669 views

Moved /home to another partition with pre-existing files, how to keep existing directory structure on partition

Ok so this is the scenario. I have a separate partition from my Ubuntu partition. I use this 500GB partition to store important data to keep it all in one place. On the 500GB partition I have a MISC ...
4
votes
2answers
5k views

Save result data command tree [closed]

I need to save all of the results of the command tree in a txt file. The objective is to save this data in a data base for later work in php and html. The main objective is to expose the structure on ...
16
votes
1answer
21k views

What's the “/sys” directory for?

A while ago I noticed this directory that I had not ever seen before, /sys. I researched a bit and read that "modern Linux systems" often have this directory, and that it manages devices. I thought ...