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
12 views

local installation of Wordpress on Ubuntu 20.04 giving blank screen

I have installed Wordpress on Ubuntu 20.04 this is giving a blank screen when I use localhost/blog/wp-login.php. apache2.conf had been edited with directories for Wordpress: /usr/share/wordpress /...
0
votes
1answer
23 views

can't find directory and file created with ubuntu

So I downloaded ubunto to start working with command line. It seems ubuntu created a directory that it named my username in my desktop (as discovered via pwd). I since created a file called colors.txt ...
0
votes
0answers
20 views

Ubuntu - prevent mv folder but allow files to be placed there

The closest I have found to creating a folder that can't be moved or deleted (but lets me add/edit/delete files within) is chattr. sudo chattr -a folder lets me protect a folder from being deleted ...
0
votes
1answer
27 views

cdo: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

i am trying to use climate data operator (CDO) to merge several netcdf files into one. I installed successfully, although when i am trying to merge the file with cdo mergetime *.nc output.nc i come ...
0
votes
1answer
20 views

Search all folders for file for “lost, mis-filed ” JPG

I have mislaid a particular JPG! is there an program / application that will search ALL FOLDERS for a particular 2 / 3 letter occurrence?
2
votes
0answers
60 views

Explain difference in non-hidden file count when using Nautilus vs. using other tools such as tree and how to independently calculate former count?

I recently have been backing up my files from a laptop and as part of that have opted to move a folder that at first seemed to be of size 107.6 GB from one hard drive to another. As I was copying, I ...
-3
votes
1answer
115 views

How to write a shell script that shows just the content of the files with more than 8 lines from the current directory?

I'm new in shell scripting. How can I write a shell script that shows just the content of the files with more than 8 lines from the current directory (in Ubuntu)? I know that I must use the command ...
1
vote
1answer
44 views

Compiling files with mingw-w64

I have a program #include<iostream> #include<windows.h> using namespace std; int main() { cout<<"Hello World!! This Program Is made in win32 API\n"; return 0; } but when I ...
1
vote
1answer
62 views

Cut-Paste or Copy-Paste not working on Ubuntu 20.04 on using right-click context menu

I tried to cut/copy a file from one folder and paste it in another folder using the right-click context menu. However, the paste option is not working. The problem does not happen within same folder. ...
0
votes
2answers
39 views

Accidentally removed my /mnt folder

sorry for this stupid question, but I accidentally deleted my /mnt folder. Are there ways to recover that? (rm -rf /mnt/) Thanks in advance for helping me out. Sorry, I missed it: Distributor ID: ...
0
votes
0answers
19 views

PNG file does not appear in folder the first time I enter

I run a software that creates a PNG file in a folder. When the software has finished running I enter the specific folder where the PNG file is supposed to be created but it is not there. When I visit ...
0
votes
1answer
26 views

Extracting Multiple tar.gz files and copying the files present in sub directories into common folder

I have multiple tar.gz files in 1 folder In each tar.gz file, there are 2 folders named "Cscf & Cscf2", which further having 1 xml file each. So my requirement is xml files present in Cscf folder ...
1
vote
1answer
54 views

Where, if anywhere, does CUPS save the file of a printed document?

I want to create a document management system where I can get the file location of each printed document from the print job history of cups. But I can't find a way to retrieve this information. I ...
0
votes
0answers
19 views

Shortcut for Windows file on WSL [duplicate]

I have been using WSL for some time, but whenever I want to access a file in, say, my Documents on Windows, I have to type cd /mnt/c/Users/USER/Documents. This leads to a lot of typing for something ...
0
votes
1answer
23 views

The Applications screen freezes when I open and close the folder

After upgrading to Ubuntu 20.04, the Applications screen freezes when I open and close the folder.
0
votes
0answers
14 views

automaticly creating .exe file for every folder

Iam using ubuntu 18.04 and in my system it is automatically creating .exe files in each and every folder with the foldername.exe if i delete it and after some time it is again creating the file.How ...
0
votes
1answer
24 views

Ubuntu 20.04 Desktop Problems and Directories are opened by EasyTag

SInce I've upgraded from 18.04 LTS to 20.04 LTS I'm not able to drag n drop or copy to the desktop directly. In Addition, directories on the Desktop are opened by the programm EasyTag by default?!?! ...
1
vote
0answers
47 views

Google Drive with Wine [duplicate]

I tried to install Google Drive Backup and Sync using Wine. It says "Installation Complete", but since I cannot choose where to install it, now I can't find where it is installed. Furthermore, if I ...
0
votes
0answers
13 views

How to properly use include and exclude rules under these conditions using backintime/rsync?

I'm trying to backup the entire root (/) but excluding everything under /mnt except certain folders under a partition I have mounted there, let's say it's mounted to /mnt/Files. Right now under ...
0
votes
0answers
13 views

Directory not empty, input/output error

After some disk-intensive work, which required the creation of a large number of files on an NTFS volume, I am experiencing a problem when accessing some but not all of the folders involved. From the ...
1
vote
0answers
25 views

Mounted Volume appeared in nautilus

I am seriously confused. I don't know if I installed something, or an update got me this, or where this behaviour is coming from, but I want to understand it and as well I want to understand how to ...
2
votes
1answer
30 views

Changing directory and file permissions

I am trying to change the owner and group of a directory that happens to be on a mounted drive. I can run sudo chown and sudo chgrp on the directory however, when I look at the group and owner, ...
1
vote
1answer
169 views

How to create desktop shortcuts for folders in Ubuntu 20.04

How can you create desktop shortcuts for folders in Ubuntu 20.04? I can't see the "Make link" button when I right-click on it.
0
votes
1answer
28 views

Share directory over internet with Windows 10 computers

I just installed Ubuntu 20.04 Desktop and would like to share several directories over the internet with remote Windows 10 computers. It's possible?? Thank you...
-1
votes
0answers
186 views

Buggy folders in Ubuntu 20.04 LTS

I just installed Ubuntu 20.04 on my computer and noticed that the folders are really buggy. If I open a folder and then close it without opening any application the entire dock starts acting weird ...
0
votes
0answers
6 views

Customize aspell work directory

I don't want aspell to save wordlists in a custom folder instead of my home folder. I fail to understand how to write a proper config file. What I've tried is this: create a ~/dotfiles/aspell folder. ...
0
votes
0answers
32 views

Remove system folders from Ubuntu Dock and Nautilus

I upgraded from 18.04 to 20.04 a few days ago. After 2 or 3 days with no reason the icons of two directories appear on my application panel as mounted volumes (screenshot below): root directory / and ...
0
votes
1answer
25 views

Passing commands as a string to shell sudo bash –c “ls -l /home” gives the error bash: –c: No such file or directory

$ bash –c "ls -l /home" bash: –c: No such file or directory I don't understand why I am getting this error. I understand if you are passing commands as a string to shell then it should be able to ls ...
0
votes
0answers
18 views

Grant administrative access to a new user for one specific folder - Ubuntu 18.04

I am struggling to provide full administrative rights to a new user(devadmin) I created. Here administrative right means the new user can read/write any subdirectory or files under the main directory....
0
votes
0answers
25 views

(Problem) Smb shows files as directories

I'm trying to configure an smb share. The problem is that once i connect to the shared hard disk, files in it are shown as directories. Is there a fix for this issue?
0
votes
1answer
15 views

remove some file on usb flasdisk

I want to remove just some files on flash disk in ubuntu, usually, I just right-click by mouse in windows and erase them. but I can't find it in ubuntu. I have already erased any file that contains in ...
1
vote
1answer
18 views

Rename files of the same name in multiple subdirectories

I have multiple directories with unique identifying names. Within each of these are further identicle subdirectories generated by an automated analysis software. Within one of these subdirectories is ...
36
votes
3answers
3k views

Is there a way reverse of what mkdir -p option does?

I Use Ubuntu 18.04, 19.10 using #!/bin/bash script how to remove the directories if they are empty from far end and stop at the directory having any file/files. say.. I have created multiple ...
0
votes
0answers
19 views

Input/output error while paste to my hhd

After remounting my filesystem to read-write,when i try to paste a file to my hhd,there shows an error : Error creating directory /media/riyadh/movies/Witness.For.The.Prosecution.1957.HDTV.720p.H264: ...
0
votes
0answers
36 views

Getting HW transcoding to work on headless machine

Okay i give up.. Im done.. I cant for the life of me get HW transcoding to work on my plex server.. Im out of ideas.. Im pretty new to this Linux thing.. But i have read everything i could find and i ...
0
votes
0answers
40 views

Installing Autopsy: Moving a file to usr/lib

I am trying to install Autopsy in Ubuntu 18.04. I found an autopsy installer on Github and it functions fine...until..... It provides an error stating: "ERROR: Java was not found in /usr/lib/jvm/...
1
vote
1answer
25 views

how to access directory with non-ascii, \n character in dir name

I have some data saved in a directory which has a non-ascii character in the name, how can I access the data within? The directory appears as: w0p6_t[[0.53.5]?[1.71.2]] but escaping the special ...
0
votes
1answer
39 views

How to unable to switch login domain? directory domain?

My company mostly uses Windows and I am one of the very few who needs Linux; it means that the IT unit does not know much about it! They installed the Ubuntu for me with an active directory enabled to ...
-1
votes
1answer
41 views

How to delete a folder with weird files inside?

I was cleaning up some disk space on my windows pc when I noticed this old folder that I had from back when this PC also ran linux. I tried deleting the folder through windows but some of the files ...
0
votes
0answers
41 views

Revert /root/ user's home directory permissions

When I realized that I did not have permission to access to the /root user's home directory, I followed the advice from this post which was to execute the command sudo -i (which I did) and then ...
0
votes
0answers
25 views

Can't find my folder | Meaning of ~ [duplicate]

I am new to ubuntu server and I cannot find this information online. When I login via SSH I am in: root@Ubunutu ~ # I used mkdir mydir to create a folder, but I cannot find it anywhere (using ...
0
votes
0answers
67 views

how to create the directory structure using mkdir for directory creation and touch for creating files

enter image description hereCommand written by me: mkdir -p mydir/{ colors/{basic/{red,blue,green},blended/{yellow,orange,pink}},shape/{circle,square,cube},animals/{mammals/{platypus,bat,dog},...
0
votes
1answer
61 views

How to prevent files from being removed when I remove them from a linked directory?

To create symlinks I use: ln -s /folder /target But when I delete a file from /target it also get removed from /folder. However I want to keep the file in /folder even though I remove it from /...
0
votes
1answer
28 views

How to chose specific folder to save custom screenshot to for each screenshot?

I am on ElementaryOS. To make it simple, I use the shortcut Shift + Print, which allows you to take a custom screenshot (you chose the area of your screen you want to save). I do not want to change ...
0
votes
1answer
69 views

Can't create new folder or paste anything in my second drive

I did installed my ubuntu in SSD and attach HDD for storing regular data, but i can't create either any folder or paste anything in my HDD. i am in dilemma...
10
votes
2answers
3k views

What is the best directory to install a Bash Script? [duplicate]

I have developed my own Bash Script (to undo the last APT commands), and now I'm looking for the best directory to install it. Is the /usr/bin always the best choice? Just for information this is my ...
2
votes
3answers
61 views

Replace a folder name using a contained file name

I have a thousand or so folders having random names. Every folder has at least one file with avi, mkv,srt or mp4 extension. I intend to replace the random generated folder name by the first file name (...
0
votes
0answers
26 views

Gray arrows and stop signs on folders

What are those gray arrows and stop signs on folders? I assume the latter is linked to protected, but what about arrows?
0
votes
0answers
30 views

Ubuntu+VirualBox-WinXP how to install shared folder

I have Ubuntu 18.04 LTS host and virtualbox-6.¹ + WinXP 32bit guest, VBoxGuestAdditions-6.1 installed. How do I define a shared folder as data exchange between the two systems (Linux, XP)? Please ...
0
votes
0answers
42 views

Ubuntu 18.04 Software Center Not Showing All Installed App, and problem with adding app to folder

Hi I just install Ubuntu 18.04 and installed some app. I want to group some of the app into folder. So I open Ubuntu Software Center and go to "Installed" tab. But some app is not showing in that ...

1
2 3 4 5
34