Questions tagged [directory]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
40 views

Ubuntu standard folders changed name (name1, name10, name4 etc)

I don't know what happened, but after start I realized the folders have changed name, then ones that usually were: Music, Pictures, Videos, etc Became: name1, name10, name14 etc When I open ...
2
votes
1answer
46 views

Sort order when using ll

Is there a way to set the sort order of the files and directories when using the ll command? I have two 16.04.5 servers with two ext4 drives. One folder exists on both drives containing the same files....
10
votes
5answers
4k views

Why doesn’t `mv file /dir` move the file to a subdirectory of the current working directory?

I was in my /etc directory and typed the command me@mylaptop:/etc$ sudo mv MyFile.conf /openvpn I thought that would move the file into the directory openvpn which is a subdirectory of the /etc ...
0
votes
2answers
384 views

cant access phpmyadmin after wordpress installation (LAMP stack)

initially i could able to log in phpmyadmin before i excecute the installtion of wordpress using http://127.0.0.1:8888/phpmyadmin .But after i had install wordpress environment ,i have issue on ...
0
votes
1answer
88 views

How to copy files from folders and subfolders and paste to a single folder?

I want to copy all the final files from parent folder and child folders to a different folder. How to do that?
1
vote
1answer
702 views

how to recover /etc/udev/rules.d file structure?

To troubleshoot driver issues I decided on renaming /etc/udev/rules.d into /etc/udev/rules.d.gold A brilliant idea, because now I am unable to revert my changes: mkdir: cannot create directory ...
2
votes
1answer
1k views

How to change group directory in Linux?

In Linux I created a group (managers) and a directory (/engineers). The group in not in the directory. What command do I use/what do I type to put the managers group in the /engineers directory?
0
votes
1answer
34 views

What is the best directory to use for my C program?

The problem? I'm currently in the middle of building a simple shell, and I'm confused on where to install it to in a production environment. What I've tried I've thought to put it in the following ...
1
vote
1answer
56 views

downloaded a file unzipped it and its a .15 file

i downloaded a file it was a .xz file so i unzipped it and the file name was Debian_for_stora3.18 it was not a folder it needs to be is there a way to convert it into a folder
0
votes
1answer
175 views

Accessing my Windows system folder from Ubuntu 18.04

I've been banging my head against the wall for the last 2 days. Ubuntu won't let me even read-only my Windows system folder. Secure boot is disabled, efi dual boot works, fastboot is disabled in both ...
1
vote
1answer
566 views

Cannot open folders from icons on desktop

I'm on Ubuntu 18.04 and noticed sometime that I cannot open any folders from the icons on my desktop anymore. The following error is given in /var/log/syslog when trying: $ cat /var/log/syslog | tail ...
0
votes
1answer
147 views

Received “Update standard folders to current language?” message, now Documents folder is empty

Today when I booted my laptop (Xubuntu 18.04) I received the following dialogue which I have never seen before; Update standard folders to current language? You have logged in in a new language. You ...
1
vote
0answers
59 views

How to read the directories' names in / directory Ubuntu 18.10 [duplicate]

when I open / directory in Ubuntu 18.10, some directories' names are as follows, I am confused how to read them in full. bin = binaries ? boot = boot cdrom = - dev = devices ? etc = extras ? home = ...
2
votes
1answer
64 views

What are all these folders on the left?

I booted up Ubuntu today, and I noticed these folders in my file manager. Whenever I open the file manager now it freezes for like 2 minutes before I can do anything. And if I click on any them I get ...
2
votes
1answer
89 views

Can the “rename” command distinguish between directories and files? [duplicate]

I need to rename only directories and not files, and I want to do it with rename. Is there any way to do it? It says nothing in the manual about differentiating between directories and files. This ...
1
vote
1answer
663 views

How to access “python3.6/site-packages” directory?

So right now I am trying to import tflearn on a python script, but that returns the error AttributeError: type object 'numpy.ndarray' has no attribute '__array_function__' (Theres a huge error ...
0
votes
0answers
31 views

Cannot access to Apache Server on another folder

I cannot access Apache server on another folder, this command I use sudo chmod -R 777 /var/www/html/ However, in the HTML folder I create another folder named Exe, and I use this command sudo chmod ...
1
vote
1answer
120 views

problem with finding a folder

I'm beginner in c programming and started using ubuntu in windows 10. I created a folder name cass and make a notepad++ inside it. now when I want to reach the file by typing the code I receive the ...
1
vote
1answer
157 views

Find a file based on specifications

Maybe this is a duplicate but how do I find a file (that I don't know the name of) based on some specifications? For example how do I find a file that: Is human-readable Has exactly 1033 bytes in ...
1
vote
0answers
57 views

How can i use extended attributes for file tagging in ubuntu desktop in a pratical way?

I was wondering why there is no graphical implementation of xattr in ubuntu desktop. In my opinion tagging files and folders with extended attributes is a quite convenient way to organize data. Does ...
1
vote
2answers
124 views

How can I delete all but the newest 10 hidden folders in a directory

I backup .mozilla every (re)boot to a folder ~/nas-backups/mozilla but I only want to keep the most recent 10 folders alphabetically. The backups are stored with a date stamp e.g. ....
0
votes
1answer
116 views

Use find to find a directory and move it to a different path

I have hundreds of thousands of files in hundreds of directories. An example directory structure is ./main/foo1/bar/* ./main/foo2/bar/* ./main/foo3/bar/* ./main/foo1/ran/* ./main/foo2/ran/* For ...
1
vote
1answer
83 views

SOS Directory Nightmare - Possible for a directory to have two different users with full access? [duplicate]

I am setting up a directory for media. I need two users to be able to read, write and execute any content inside a directory, even if the other user created it. The directory is a samba share. I ...
0
votes
0answers
255 views

Editors can't see /var/www folder

I put a small web project on local apache from /var/www/html. It's working from browser and I can see all folders and subfolders from terminal. But editors (like Atom or Visual Studio Code) can't see ...
0
votes
1answer
61 views

Is it possible to format an USB external HD keeping intact some directories and files? [duplicate]

Maybe it is a nonsense question, but I would like to format my external HD which contains plenty of files and directories, the HD format is NTFS, if it is possible I would like to format to ext4 but ...
0
votes
1answer
78 views

Which directories should I change permission on [duplicate]

When I open my website it shows me this The following directories must be writable by the web server: tmp/cache tmp/templates_c Please correct by executing: chmod 777 tmp/cache chmod 777 tmp/...
4
votes
1answer
2k views

List all folders and subfolder with bash

I tried to use PHP to read my folder and the subfolder to create a basic menu for me to use, but I noticed when I did that it took some time because it has to run it every time I go to the page. Then ...
0
votes
2answers
97 views

Set different views (list, thumbnail) for different folders?

As per the title, is it possible to set different types of views for each individual folders in the GUI ? Changing the setting in one folder changes the view in all of them. I'm switching from ...
1
vote
0answers
41 views

Is there a way to see recent and pinned files like in Windows? [duplicate]

I'm using GNOME. In Windows, you can right-click on applications in the taskbar to see your most recently used files, and files you've chosen to stay in the dock. This is one of my most missed ...
1
vote
0answers
99 views

Setting up Steam on Kubuntu 18.10 to a non-/home folder?

Please tell me: is there any known way to install Steam to a NON-/home folder, WITHOUT needing to resort to moving things later post-install, and making symbolic links? So far the only solution i ...
0
votes
1answer
439 views

Open a thunar directory with an application action

Problem When opening a thunar directory from an application for example: from firefox in the downloads section you click on 'open with folder' or from thunderbird troubleshooting you click on 'open ...
0
votes
1answer
202 views

How do I change ownership of a folder in my downloads folder? [duplicate]

I have a folder in /home/downloads that's called wonderdraft. I wish for this folder to be owned by my user. How do I do this? Thank you in advance.
0
votes
0answers
35 views

Inaccessible folders

I have some folders on a second hard disk, that I can't access from Ubuntu, but I can from Windows.
0
votes
2answers
612 views

Cannot delete directory

I'm facing the following problem: I have a folder which I cannot delete. I cannot even list it's contents. The story of this folder is that it was being used to store some logs which increased ...
1
vote
1answer
63 views

copy file from folder in user abc to a root folder [closed]

As user abc, I had wanted to install a "systemrescuecd.iso" on a USB stick. I had made a temporary folder "/tmp/cdrom" (command: mkdir -p /tmp/cdrom). But the command: mount -o loop,exec /path/to/...
0
votes
2answers
61 views

Copy only images in a specific directory ignoring the sub-directories in it

Excuse me for my Bad english.I want to copy only images(.png) present inside a specific directory(serenity) ignoring the sub-directories(datatables, images..etc,) in that, to another directory. ...
1
vote
1answer
119 views

Sorting files and directories differently in the file browser

Is it possible for the file browser to, for example, sort files by Modified date and directories alphabetically? I never care about the most recently modified directory and can find the one I want ...
6
votes
0answers
718 views

How to move 'snap' folder to another location

I used some snap on my system and I found a 'snap' folder in my home. I would like to know if there is a safe way to move the 'snap' folder to another location, away from the home folder. I read '...
0
votes
1answer
129 views

Moved a folder to /dev. Folder has disappeared after rebooting

As the title says, I can't find the folder there now. I looked it up and /dev is some form of device files, so I'm not sure whether the folder I moved there should disappear after rebooting or not?
2
votes
1answer
78 views

How to get a log of at what points in time a directory was modified?

In my present working directory, there is a subdirectory called modelled_data I wish to get information on last few (may be 10) modifications of the subdirectory (including its subdirectories and ...
6
votes
6answers
3k views

How to move files from subdirectories that have the same directory name to its relative upper/parent directory?

So, I have a directory structure like this: parent/ ├── sub1 │   └── source │   └── file1 │ └── file2 ├── sub2 │   └── sub2.1 │   └── source │   └── something1 │ └── ...
1
vote
0answers
39 views

Change number of characters per line in a folder's name

I have noticed that the number of characters allowed per line in a folder's name is lower in Ubuntu 18.04 than it was in Ubuntu 16.04. This causes some long words to be forcefully split between two ...
3
votes
1answer
553 views

What does a hash sign (#) at the end of the directory path in a Bash prompt mean? [duplicate]

I was in the middle of installing updates for Ubuntu when I came across an error, which allowed me to "Start a new shell to examine the situation". Doing so placed me at the top of my directory ...
0
votes
1answer
46 views

Directory folder named '['

After installing Anaconda my administrative account shows a large folder with the apparent name [ --without the italics. I uninstalled Anaconda using anaconda clean but the [ folder wasn't removed and ...
1
vote
0answers
20 views

Full directory path instead of graphical navigation? [duplicate]

How can I navigate to a folder by writing it's full path? /home/john/Desktop/Music instead of navigating to it from the base or from the Home folder? Is there any program that turn this graphical ...
5
votes
2answers
3k views

What happens to a symbolic link when the original file is replaced?

I have update software in /opt/minergate-cli. I've renamed the directory minergate-cli to minergate-old with an mv command, then installed a newer version of the software giving the same directory ...
4
votes
1answer
164 views

How do I quickly navigate to a full path using the “Files” program? [duplicate]

I have this path I want to navigate to in the UI. /usr/local/sbin How can I do that with a couple clicks in the UI?
0
votes
1answer
32 views

Where does the folder /usr/lib/windows95 come from and how can I get rid of it?

Trying to free some space on my root partition I stumbled across a folder named /usr/lib/windows95 It contains the following files: -rw-r--r-- 1 4,2K blink_image_resources_200_percent.pak -rw-r--...
0
votes
1answer
25 views

How to update softlinks when folder is updated?

I have two directories 'original' and 'soft'. I have soft links on all the files of the original directory. ln -s original/* soft/ However, on the regular basis files are getting copied and deleted ...
0
votes
1answer
371 views

Install Incrontab (file system watcher) on Ubuntu 18.04.1 LTS [duplicate]

Can someone please help me to install Incrond on my Ubuntu server, I tried all possible ways as I found on the web but nothing works. sudo apt-get install incron Reading package lists... Done ...

1 2 3 4 5 33