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

learn more… | top users | synonyms (3)

55
votes
4answers
336k views

find a file using the terminal

I am trying to find a directory, using the terminal and I am not sure where it is. I mean that i used the wget command to obtain the file and used it for installation and now i am not able to find ...
1
vote
2answers
138 views

how to remove directory with all of its contents

I tried to remove a directory by using command rmdir but I got this answer: The directory is not empty. How to deal with such problems? My Linux version is Ubuntu
8
votes
2answers
650 views

Root folder on my Ubuntu 16.04 with an (X)

I formatted my notebook just now and I installed Ubuntu LTS 16:04, and the folder /root shows with a (X). Question 1: Why? Question 2: How to solve this problem? Notebook- Dell Vostro-14-5480 ...
1
vote
2answers
32 views

How do I get a folder size in nautilus to include hidden files (dotfiles)?

In Ubuntu (14.04) in the nautilus window (the file explorer) I can right-click on a folder and select Properties to see its size. However, this size does not include hidden files. (dotfiles) Is ...
6
votes
2answers
65 views

How to delete folders that have n or fewer files in them?

I need to do some folder clean-up, and I'd like to remove directories that have 10 or fewer files in them. I tried looking at GNU's find, but there wasn't anything related to the number of files in a ...
11
votes
6answers
4k views

Which Folders To Include In backup?

I'm quite new to Ubuntu and want to create a backup. I'm really not sure what files and folders to include so that if I restore my system it will be as it is now. I can't seem to find good details of ...
0
votes
1answer
34 views

sort a lot of file in directory

I have a problem in bash . I have a lot of file(.mp4) nearly 140 that i want to create directory with similar name with that files but the bash show me this file is exist ! how can do it ?
1
vote
2answers
41 views

tar -xvzf [filename] creates an extra directory

I have a tar file in /var/www/orbitcode/public_html/orbit.tar.gz when I unzip it using tar -xvzf orbit.tar.gz a new pub_html directory is created. The path of the extracted files is /var/www/...
1
vote
0answers
44 views

Ubuntu freezes when renaming folders [closed]

I have the same problem with every version of Ubuntu (from 14.10 to 16.04). If I press "Enter" very fast after renaming is finished Ubuntu freezes. It asks me if I want to kill the process and after ...
0
votes
0answers
10 views

wipe ram Location file [closed]

I have a problem trying to save a file. I get a "location not found" error. config/hooks/0020wipe-mem.chroot How do I fix this?
29
votes
6answers
82k views

Move home folder to second drive

I have 2 HDD drives in my computer. At the moment second drive is mounted as /media/storage. How can I move my user data from /home to /media/storage/home? Can I just move the data over there and ...
1
vote
0answers
12 views

Removed Desktop by rm Desktop and now desktop connects Home instead

So i had this problem where i had a file called Desktop but it was not my desktop file, that i needed to remove, and so I did. Before doing that,i did mv Desktop Defwp this, then i deleted with rm ...
0
votes
0answers
31 views

how to see all activities done on ubuntu 16.04 LTS?

I'm a user of Ubuntu 16.04 LTS, I have done some modifications like installing new packages and creating some directories and modifying files; Then I want to see all the activities that I have done ,...
3
votes
2answers
123 views

How to delete all first-level subfolders that do not have a specified string in their names

I know that there are quite a lot of answered questions about how to delete all files with or without a certain string in their names, as well as ones about how to delete all subfolders with a certain ...
2
votes
1answer
28 views

How to determine if every file in a folder (and its subfolders) exists in another folder

Folder B is obtained from (a copy of) folder A by an undelete application such as extundelete and therefore its structure is messed up. How can I determine if every file in B and its subfolders exists ...
0
votes
1answer
4k views

Where does Desktop Telegram save sent pictures?

i use telegram with my pc. i know that telegram save all pictures in a folder on android. is telegram save pictures on pc too ? and if yes, where is it ?
0
votes
0answers
11 views

Folder shortcut in Ubuntu 15.10 launcher continues to load?

I followed this answer to this question in order to create a folder shortcut in the launcher. It works, but not as I expect it to. When I left-click the newly added folder shortcut in the launcher, ...
2
votes
1answer
71 views

How to allow users to create and delete file(s) / folder(s), but not modify them?

I have created a group name "app-data" and a folder /db-data/archived-data/ I want members of app-data to have all rights on /db-data/ folder but I want the same group users have only create and ...
15
votes
1answer
563 views

How to set the first picture of every folders as their folder icons?

If there are pictures in folder A, B, C.....Z, how do I automatically set the first pictures of these folders as their folder icons? Is there a way like a script or something else?
1
vote
1answer
48 views

How can get Mac Os like column view in Ubuntu 16.04?

Navigating the folders and sub folders in the same window My question is quite similar to How can I see a folder and a subfolder in the same window? but It is not working for ubuntu 16.04 is there any ...
0
votes
0answers
102 views

How to delete 'dir.xxx' extention files? [duplicate]

I am newbie in Linux. I downloaded a SD card recovery software and messed up somehow. Now my 'download' folder filled up with these protected folders to the fullest: and I can not delete those ...
2
votes
0answers
21 views

Recovering my encrypted home folder

Here is my situation. I completely broke my Ubuntu on my main drive, and it just boots into a black screen and doesn't work, it is dead. I need to recover my encrypted home folder with a live USB. I ...
0
votes
0answers
29 views

Where to save .p12 Files?

I have many personal .p12 files everywhere in my home directory. I need them for my VPN Connections (with the network-manager-gnome). Is there a special folder for .p12 files in Linux, or do you ...
2
votes
0answers
19 views

Extracted a zip to install exe but directory is locked and not found with ls -la

Quite new to Lin. Downloaded Visual Studio Code to extract its binaries and install. Got to files but one is a locked directory that I want to delete and I can't even find with sudo ls -la to later do ...
3
votes
1answer
18 views

Default number of links for directory?

I know that hard link can not point to directories but when i create an empty directory and execute stat command for it links=2 ,I search for symbolic links There is not another link. why for ...
0
votes
4answers
9k views

how to delete locked folders/files

How to delete locked folders/files? When I try to delete them an error occurs: "Error removing file: Permission denied" I am root. See the image below to know what kind of folders/files. thanks
1
vote
4answers
7k 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 ...
27
votes
1answer
53k views

How do I mount a folder from another partition?

Is there a command to mount a folder from one partition to my main partition? Example of what I'd like to do, which obviously doesn't work: mount /media/tc1/folder /home/dvad/home If not by using ...
0
votes
0answers
21 views

dev/pts doesn't show in ls command

I'm fairly new to ubuntu, I'm running it in a virtual machine online on an application called cloud 9. I've run the commands sudo -i, followed by cd \, cd dev, and ls. When I ran ls it gave me: ...
13
votes
6answers
42k views

How to search for all the files starting with the name “ABC” in a directory?

I need to search for files starting with some particular name. There can be multiple files starting with a particular pattern and I want to list all such files present in the directory.
14
votes
11answers
2k views

How to quickly move into and from deeply nested directories through CLI? [duplicate]

We know that using cd <directory> will open the directory, if it exists! Also, cd .. will take us up one level from the current working directory. But, when we have a nested dir with longer ...
3
votes
3answers
51 views

folder not shown when being created by command line

I have an issue when I am creating a folder by command line. I create it by typing: mkdir TEST and it does not appear on the graphical desktop view. But if I type the command "ls" in the Terminal I ...
1
vote
0answers
25 views

How do I arrange files in a folder in some particuar order?

I have saved a set of drivers required for Windows in one of my hard-disk partitions. Now I want to arrange them in some particular order such as BIOS Drivers Applications I want the order of ...
5
votes
2answers
1k views

Unity: Nautilus folder opens in background

I am used to open a folder from the keyboard with a shortcut. The alternatives are: Use Unity Dash with the shortcut SUPER + F to open the Dash File Lens Open Kupfer with the configured shortcut (...
1
vote
0answers
49 views

Where is the Spark home directory?

I followed the official installation guide and installed spark on my Ubuntu 15 system. I can run .bin/pyspark without any problem. But if I want to write a .py script and put it somewhere, so that I ...
1
vote
1answer
59 views

Differences between ls and l command [duplicate]

I've accidentally stumbled into the l command in ubuntu which is pretty similar to ls, although the output is slightly different. For instance, the output of both commands in a directory with the ...
0
votes
0answers
140 views

Ubuntu Server 16.04 and Active Directory

I've been following the 'SSSD and Active Directory' documentation in order to try and add an Ubuntu Server to our Windows AD domain for user authentication. Configuration goes well until the point at ...
1
vote
2answers
2k views

What command can delete folders older than X days or X months?

I know a command to do the same with files, but what about folders (and all the files in it of course)?
1
vote
2answers
88 views

How do I run a python script whenever a file is created in a directory?

So, I'm trying to do this, somewhat, simple task, but I have not been successful yet. I'm hoping that changes now. The goal: Run /var/www/lager-scanner/filer/pluk_script.py whenever there is a new ...
1
vote
0answers
32 views

I changed the name of one of the folders in my home/user folder

I changed the name of one of my folders in home/user by accident and I don't know what it was called previously. It contains another folder in it called i686-pc-linux-gnu-library. according to file ...
-1
votes
2answers
2k views

move terminal out of home directory [closed]

To make a long story short, (trying to install lightscribe), It has installed to computer>opt>lightscribe>simple labeler> (launchbrowser.sh), which is a root folder. I am trying to open a terminal and ...
1
vote
5answers
3k views

Limit the size of a directory by deleting old files

I have a IP cam which save its recordings in a specific directory named Camera1 in my Ubuntu Server 12.04. I would like to limit the size of this folder to 5 gigs, by deleting -say once a day- the ...
3
votes
2answers
108 views

Display all the folders which do not have any sub directory [duplicate]

How do I display all the folders which do not have any sub directory using the terminal?
0
votes
3answers
697 views

How to check empty space in a folder using commandline?

I tried du but that doesn't output the empty space of a folder. Any commands to do this?
0
votes
0answers
20 views

cd shows incorrect “no such file/directory” message

I'm running a crouton root on a chromebook, and the cd command refuses to work. I've looked at similar problems, and I'm certain that I'm entering the command and arguments properly. But it still ...
5
votes
1answer
1k views

How can I change the icons of many folders?

I have a collection of films on my computer and every film is stored in its own folder with image of its cover. What I would like to do is to change icon of each folder to icon of film's cover. Is ...
1
vote
1answer
55 views

How do I access my home folder in a separate partition that has been mounted on a new version of Ubuntu

I ran into problems when I was using Ubuntu 14.04 my log in screen was looping and I checked on-line and saw a solution that told me to try chown -R $USER:$USER sudo so apparently I recurrently ...
13
votes
4answers
158k views

How do I navigate between directories in terminal?

I am new to Linux and Ubuntu and have tried changing to folders/directories with some difficulty. Could someone explain why the following commands failed to change to the desired target folder/...
1
vote
1answer
18 views

Copying a dynamic home directory to a new drive [closed]

I am running a weather-based web-server using Ubuntu 10.04.4 LTS. Recently the 2TB drive that runs the OS (/dev/sdb) started producing disk-error messages. There were (2) 2TB drives in the server ...
30
votes
6answers
70k views

How to open a folder (with GUI) from terminal?

I want to place a link/shortcut/launcher in my unity panel (ubuntu 12.10). I followed this tutorial on handytutorial.com to create a custom launcher and drag it to the panel. I just need to know ...