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

learn more… | top users | synonyms (3)

0
votes
1answer
16 views

Locking a folder on a shared linux server

My college has a server set up for students and we all have a folder for our persona stuff on it (access via ssh). So I explored it a bit and found out I can access most of the folders of other ...
0
votes
0answers
26 views

How do I cd into a webdav share (so that I can ls)

Objective is to generate a text file listing all folders/subfolders/files in a directory on a network share (a website I manage). I've successfully connected to the server using nautilus (using path ...
-1
votes
1answer
34 views

I found in a test “navigate to the bin directory, make a file of entries i find there and store it in your personal directory” [on hold]

How do i get to bin because every time i try in terminal it says there no such file or directory as bin, ive tried cd bin, cd ..bin cd ../bin. I want to point out i have no idea what im doing and ...
0
votes
2answers
19 views

Could not enter folder /usr/share/icons/XX Error after folder copy

I'm on Ubuntu 15.10, downloaded icons from https://github.com/0rAX0/uniform-icon-theme. I got error: Could not enter folder /usr/share/icons/uniform-icon-theme-master. ...after copying the ...
1
vote
1answer
28 views

Cannot copy files in Ubuntu to external drive: names with special characters

I cannot copy a lot of files to my external drive because when I try to do it I get the error "wrong file name". I have seen that these files have special characters and I would like to know how to ...
0
votes
1answer
7 views

How do I move a whole album to a directory using middle characters?

im familiar with wildcards and ?, but what I want to do is move albums into their appropriate directories using the "(Disc X)" located in the middle of the file. So, I've switched to the directory of ...
-2
votes
1answer
18 views

directory ownership [closed]

I am trying to do a shell scripting in part of that script I want to create directories and subdirectories as another user. The problem I face is that I am running the script as root so the directory ...
0
votes
0answers
16 views

folder recovery error on ubuntu 14.04

I accidentally deleted a folder from my hard drive and am trying to recover it with extundelete but getting the below error. sudo extundelete --restore-directory /home/cmccabe/Desktop/ucsc /dev/sda1 ...
3
votes
0answers
44 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
19 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
14 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 ...
1
vote
3answers
91 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 ...
0
votes
1answer
30 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
27 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
18 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
26 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
48 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 ...
-1
votes
0answers
45 views

Copy multiple folder and overwrite

i have two folders: /test1/film1/filmnew.mkv /test1/film2 /test1/film3 /test2/film1/filmold.mkv /test2/film4 /test2/film5 Now i want to copy all folders from test1 to test2. If the folder not ...
3
votes
1answer
44 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
29 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 ...
1
vote
0answers
18 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
29 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
64 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
11 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
39 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
45 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?
4
votes
2answers
464 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
55 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 ...
0
votes
1answer
31 views

shell script to move a set up 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 ...
-2
votes
2answers
68 views

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

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
608 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
21 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
155 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
17 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
14 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
40 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
252 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
11 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
19 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
0
votes
0answers
26 views

Batch Rename Directories according to a specific pattern? [duplicate]

I have a lot of directories of the form ABC (1234) DEF. I would like to rename all these directories into the form of ABC (1234) . Can anybody suggest some methods? Edit: For eg. Graham (2014) ...
3
votes
2answers
29 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
33 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. ...
4
votes
2answers
144 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
98 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 ...
14
votes
2answers
756 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
36 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
16 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
23 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
25 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?