A component of a Unix filesystem which contains other items, to organise the filesystem

learn more… | top users | synonyms (3)

3
votes
0answers
113 views

Automatically do a two-way sync of two directories

I would like to do a two-way automatic sync between folders Directory A andDirectory B. This means that whenever a file in Directory A or one of its sub-directories is changed, that change is ...
0
votes
0answers
25 views

How to move files and don't break anything?

I have a file and want to move it somewhere. Before I move it, I need to check if it has any connections with other programs or links or environment variables. Is there any command or plugin which can ...
1
vote
0answers
28 views

Creating a shared folder between unprivileged users

This may be a repeat question, but I wasn't able to answer this specific question anywhere else. My school uses Ubuntu to run their server. My friends and I have accounts on the server, but aren't ...
0
votes
3answers
124 views

How to make a line of directories with one command?

With the mkdir command if I want this location to exist ~/test/panda/fat when only the ~ part of it exists so far I have to do something like this: mkdir ~/test mkdir ~/test/panda mkdir ~/test/panda/...
0
votes
1answer
150 views

What are the default permissions for the /usr/share/applications folder?

Accidentally typed in the following command and messed up permissions. sudo chown -R $USER:$USER /usr/share/applications
0
votes
3answers
125 views

Using the terminal, how can I see the directory (and files) in an external HDD attached via USB port?

Using the terminal, how can I see the directory (and files) in an external HDD attached via USB port? (I am a beginner so would appreciate simple instructions. I have tried to find the answer ...
0
votes
0answers
28 views

how to set automatic full permissions on the file in folder

How to set automatic full permissions on the file in folder? Suppose, I have created a directory and then put the bash script file in that folder. Now, every time I need to set the permissions, I ...
0
votes
1answer
162 views

Properly set up java development environment

I am a java developer mainly coding on win environment. I am planning to move to Ubuntu and I would like to know what is the best way to setup my jave, ide, maven and others. Under Windows I would ...
1
vote
3answers
98 views

Moved /etc folder to another place

I moved /etc folder to another place. Now when i use sudo mv command it says: sudo: uid 1010 does not exist in the passwd file there's a solution for it? it happenned in my vps by ssh. Format isn't ...
3
votes
1answer
68 views

How to create one directory in the tree of directories ubuntu?

I'm using Ubuntu 14.04 LTS a little while ago and I consider myself a beginner. I get the following window: I wonder if there is any way to create a folder in the "Places" area in the tree of ...
0
votes
1answer
49 views

Can I edit a link to a .exe's target

I recently installed the original Half Life and was installing a mod for it when I encountered a problem. The tutorial for installing the mod says to create a short-cut to the original hl.exe and add ...
2
votes
2answers
71 views

How to stop a file or folder from being indexed in GNOME?

I am running Ubuntu GNOME 15.10 with GNOME 3.18, and I would like to know if I can do any of the following and if so how: Make it so that a folder is not indexed but leave its contents indexable (so ...
1
vote
1answer
88 views

Meaning of “b” and “c” in file privileges description (output of ls -l)

Basic question regarding the ls utility. What do letters "b" and "c" mean at the beginning of the 10-symbol code describing the item privileges ? From what I understand, when typing ls -l, the ...
1
vote
2answers
99 views

Move all files and directories to destination directory

I have directory structure: ~/MYDIR/ /DESTINATIONDIR/ /DIR1/ /DIR2/ /file1 /file2 I need to move DIR1, DIR2,file1,file2 to DESTINATIONDIR What is most elegant and optimal way to do this ...
0
votes
0answers
18 views

Zoom in file window (ctrl +)

I'm a new Ubuntu 14.04 user and I have a small problem. When I zoom using ctrl + + or - in a folder window, for example in the videos folder, the icons zoom in and out, but the text doesn't scale ...
0
votes
1answer
43 views

How to make sure that folder got full permission

I'm new to ubuntu, I asked before to get full permission to a folder and I followed this command sudo mkdir /var/szDirectoryName sudo chmod a+rwx /var/szDirectoryName to get full permissions to a ...
2
votes
1answer
111 views

How can I give full permission to folder and subfolder

I'm new to Ubuntu and need to create a new folder in /var and need all users on the machine to have full permissions to this folder. How should I proceed?
3
votes
2answers
786 views

How to find all empty files and folders in a specific directory including files which just look empty but are not?

Let's say that in my folder ~/list I have a large amount of folders each with their own sub-folders and sub-sub-folders etc, and there are lots of files almost on each level. However some of these ...
0
votes
1answer
133 views

How can I change the default directory for gnome-terminal without editing .bashrc?

How do I set the default working directory of a gnome-terminal opened via Ctrl-Alt-T or via the Launcher or any other quick means to a gnome-terminal? Presently it defaults to ~. I know about gnome-...
1
vote
1answer
91 views

shell script to move a set of folders into one folder and timestamp it

I have a set of folders (let's assume at /home/20161, /home/20162, /home/20163) which have been timestamped already. at the end of the day, I'd like to collect all of them and move to a main directory,...
-2
votes
2answers
158 views

program to access files on internal hard drive, windows [closed]

I would like a script that will rename the file Utilman.exe in Windows/System32 to NotUtilman.exe and renames cmd.exe to Utilman.exe . I am not asking for the full script, I am new (-ish) to Ubuntu, ...
8
votes
7answers
688 views

giving a short name for frequently opened directory via terminal [duplicate]

Every time I wish to move to a directory I use very often, I must type this long directory path: cd /media/prasanth/01D0F888E7BC91801/github projects or I must use the gui to get into the folder ...
0
votes
1answer
27 views

Samba #networking

I have some issue with linking up 2 subnet to a folder. I have 2 PC with different subnet go through a same switch. example PC1: 192.168.28.2 PC2: 192.168.10.2 They both need to access a folder, i ...
1
vote
3answers
4k views

How to create a new folder from a terminal with administrative permissions?

I want to install JAVA, but the installation instructions ask me to create a new folder, called /java/, into the standard /usr/ folder. But this folder is blocked. I mean, I can not to create a new ...
0
votes
1answer
24 views

What is $Recycle.Bin in LS output?

If i do LS and see $RECYCLE.BIN and try to TAB complete $R I get $RANDOM clearly I am an idiot, but breaking things is how I learn :) I deleted $RECYCLE.BIN and lost a bunch of files. Now ...
0
votes
0answers
17 views

java's config directory is taking 2.5 GB. Can I delete it?

the directory is /home/shahar/.java/.config, this config folder is 2.5. from looking inside it relates to many programs on my system. but what would happen if I delete it? and would it just go back to ...
0
votes
1answer
69 views

Terminal: list subdirectories containing a specific directory name

I am trying to write a command that will list all directories in /usr/share/icons that contain a folder named "places," but only in the first subdirectory. To make things clearer, there are a lot of ...
8
votes
1answer
257 views

What determines a directory size?

I know that size of a directory itself is a different thing than the sizes of the files in it. I think of a directory as a list of the directories and files within, hence a directory's size should be ...
1
vote
0answers
12 views

Folder access restriction during specific hours

I want to manage my time better and I'm looking for way to make my entertainment folder accessible only after 8 pm. Is there any way to do it with some bash command?
0
votes
0answers
58 views

Using Anjuta IDE for C++. Why won't it recognize the header file. Error main.cc Header.h: No such file

Error on simple class example. Why does it not find the header file? Also, if anyone has a breakdown of what the folders mean, I'd appreciate it. Anjuta No header file error
3
votes
2answers
83 views

Hide/Don't list non-readable folders

In a multi-user environment using Ubuntu server 14.04 as a shared drive All users connect via SFTP using Filezilla/WinSCP and are chroot to /home/company-folder/ Each user has also its own personal ...
0
votes
1answer
45 views

what directory is the tmp file in

I'm a totally overwhelmed, brand new user. had a lot of problems during the install process while half asleep after a long day of fighting with windows and then giving up on the whole windows OS. ...
3
votes
2answers
302 views

How to make Firefox download to Downloads folder even when “Open with xxx” is selected?

I have recently noticed that when downloading something with Firefox, if I select the option "Open with xxx" instead of just the "Save file" option, the file is then downloaded to /tmp and opened with ...
5
votes
1answer
317 views

How to create a directory users can't delete (but can delete files in it)?

Is it possible to create a directory that ordinary users cannot delete, but they could create and delete files and subdirectories inside this directory? i.e. for /share/permanent/ users could ...
11
votes
2answers
882 views

How to make my system delete all the files in a certain directory older than a certain time while keeping the directory structure intact?

I have a directory on my machine, think of it as my own sort of tmp directory, but it's in my ~ directory. And I want to make it so that my system every 3 hours deletes all the files in (though ...
0
votes
0answers
63 views

Double click open jar app not find file in jar root folder

In my java app I open an exe with ProcessBuilder and that exe makes something, this exe needs some files and I located them in my jar root directory but when I run jar with double click I get file ...
0
votes
0answers
17 views

What does the “cd ..” command do? [duplicate]

When I enter cd .. into the terminal, I get this Videos # cd .. home # If I enter it again, I move to the / directory. What exactly is it doing? Is home the same as $HOME? And why do I move into /...
0
votes
1answer
25 views

how to count the number of directory and files recursively?

How on earth can i count all the directory and sub directories recursively including all the hidden files and directories accurately ? I tried ls -aR | wc -l but this is not working accurately. ...
22
votes
4answers
2k views

Where should I keep my personal files while keeping the pathname short?

I was a Windows user and am new in Linux environment. I just installed Ubuntu two days ago and I am confused about the directories such as lib, etc, var, tmp, mnt, etc. I've a few questions. What is ...
0
votes
1answer
33 views

count the number of directory recusively?

Is there any command or the group of commands that can be used to count and display the number of all directories and sub-directories recursively starting with the certain specific letter?
0
votes
0answers
13 views

I have two directories with identically named files in them. When I try to switch them the files switch folders. Why?

I have two fodlers, one named video/ and the other foto/. video/ contains a white video icon with a blue foto icon, foto/ contains a blue video icon and a white foto icon. Both video icons are ic2 and ...
4
votes
2answers
412 views

How to set default opening folder for Nautilus file manager?

How do I configure Nautilus to open at my Documents folder instead of my home folder? I've scoured this site and found answers instructing users to edit the /usr/share/applications/nautilus.desktop ...
0
votes
0answers
142 views

Need to move Arduino IDE applicaion Install to another Directory

I have just installed the latest version of Arduino IDE v1.6.6 under my Downloads directory and all works great. The issue is, I actually didn't want it to install at this location and so would like ...
0
votes
2answers
30 views

Where should I create custom folders?

I'm sorry for the silly question. I'm using Ubuntu on a Vagrant VM and wanted to create a custom folder to hold some random files. Where is the "best" place to do so? Is it `/usr/'? In Windows, ...
3
votes
1answer
47 views

“Documents” folder is inaccessible after upgrade

I have just discovered that I cant open my documents folder. It is no longer in the bookmarks list in the file manager, but at the end of the list and when I click on it...it says the following: I ...
0
votes
0answers
49 views

how to give partial permissions to shared folder for openLDAP users in ubuntu server 14.04 graphically

I have a ubuntu 14.04 openLDAP server in which I have created more than 20 users and created a shared folder by installing sharing services (samba) but I can`t give permissions for read/write/execute ...
0
votes
3answers
53 views

Local rsync command to capture a sub-sub-subdirectory of /

The task is simple: create a backup of /usr/local/bin and the files within it, and keep the path information. The following works, but I do not really understand what I have done. I've noticed that ...
0
votes
2answers
30 views

Keeping track of filesystem changes

I am looking for a way to find changes made to filesystem on Ubuntu. Like so: make some kind of a snapshot i.e. scan given folder (files, subfolders), save files names and sizes. install whatever, ...
0
votes
0answers
16 views

How to change the physical location of predeterminated user folders [duplicate]

Is there a way to change the physical location (real HDD partition) of the predeterminated user folders? I'm talking about the folders the system put automatically into the main system partition: ...
0
votes
0answers
87 views

389 Directory Server with Windows Clients

I'm trying to use Ubuntu as a Directory Server for Windows clients. I currently have 389 Directory Server installed but dont know where to take it from there. Hope someone can provide me with ...