9
votes
2answers
465 views

Directory - /sys in linux

Can anyone explain me what is going inside the /sys directory on a Linux system? I Googled it and got some results, but I need a clear mind on this. Is there anyone ready to give me a short (and ...
0
votes
1answer
25 views

Relocate jpg files from nested/buried structure to relative known directories

I'm trying to batch move/organize a large number of files (.jpg) from nested subdirectories to a relative directory. The structure is pre-planned. Just not 100% sure what the most efficient and safest ...
5
votes
1answer
584 views

Meaning of . and .. directories in linux [duplicate]

When display hidden file and directory in terminal using ls -la it show two directory i.e. . and .. and when list the content of dot(.) directory it contain all file and directories that is in it's ...
0
votes
1answer
30 views

Merging two directory trees with same structure, but different contents in Unix

I have two directories with the following structure: A |_0 |_1 |_2 B |_0 |_1 |_2 each 0,1,2 directory contains unique contents. I want all of the contents to simply exist as: A |_0 |_1 |_2 Is ...
0
votes
2answers
42 views

ls -lrt showing file which is not present

When I do ls -lart in my current working directory it shows lrwxrwxrwx 1 root 10004 36 Dec 16 17:59 index.html ->/home/moviebeam/assets/ui/index.html But I cannot see contents of the ...
4
votes
2answers
87 views

What is file ']' ? How is it created?

I wonder how this file got in my directory? When I run ls -lrt it shows -rw-r--r-- 1 and size 117562 . Can I get any directions for this?
0
votes
0answers
47 views

What does “locally installed” and “not essential” mean explaining difference between /bin /usr/bin /usr/local/bin?

I have read some word explaining the difference between /bin, /usr/bin and /usr/local/bin, or alikes, e.g. this question. But I don't understand what do they mean by not essential or locally ...
2
votes
2answers
61 views

List folders in Linux which can only be seen if accessed

Maybe it is a amateur question but here it goes: At the university we have a folder /vol. This folder is absolutely empty until you "cd" into a directory which exist there. E.g. "cd ...
2
votes
1answer
498 views

Preferred place to store configuration files that change often

I have a number of applications on my Linux server that depend on a few configuration files. These applications are related but separate. For what it's worth, at the moment each application has it's ...
1
vote
1answer
921 views

Is it possible to prevent creation of .directory files?

I'm on OpenSuse 12.3 and I wonder if there's a way to prevent creation of .directory files (preferably under some specific directory) The question arose for the need of a "clean" directory. I'm ...
4
votes
1answer
2k views

How are directory structures stored in UNIX filesystem?

I have read that each directories store their content (files and subdirectories) by using a list of filename and inode pairs. But none of the reference I got said something about how they are stored. ...
2
votes
1answer
105 views

Do best-practices say to restrict the usage of /var to sudoers?

I wrote a package, and would like to use /var to persist some data. The data I'm storing would perhaps even be thought of as an addition for /var/db. The pattern I observe is that files in /var/db, ...
2
votes
1answer
799 views

Modern looking visualization of folder structure

Is there a tool for nice, modern looking visualization of folder (with cloned GIT repository) structure in Linux? I know there is command tree but it outputs "ugly", text based results. What I'm ...
0
votes
2answers
117 views

Windows 7 “home” sub-directory relocation

I'm setting up a new rig dual booting Linux and Windows with an SSD + HDD filesystem. I have Linux set up how I want: Under Linux: / is a partition on the SSD. /home is a partition on the SSD. /var ...
22
votes
2answers
4k views

Why is it so hard to find a file in Ubuntu?

It's very hard to find files in Ubuntu. In Windows, you could just go to C:\Program Files and you would find what you need. In Ubuntu, you must use search to find something you need. Maybe I am ...
5
votes
3answers
2k views

What's behind the Linux disk naming convention with sdX and hdX?

Can someone tell me what's behind the hdX and sdX naming convention for hard disks under Linux? I understand it's a "convention" but what does that mean? Does that mean, for example, that a SCSI drive ...