Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [home-directory]

A home directory is a file system directory on a multi-user operating system containing files for a given user of the system.

home-directory
1 vote
1 answer
30 views

get home directory of all running apache httpd procesess

Below is the process dump of all running httpd processes. $ ps -ef | grep '[b]in/httpd' wsadmin 8465 8463 0 Jul 13 ? 1:21 /web/apps/perf/apache/2.4.52/https-model/bin/httpd -k start ...
Ashar's user avatar
  • 3,237
1 vote
0 answers
72 views

How to retrieve the user's state home directory on desktop OSs?

I need to create and then write to a log file (using the spdlog library) but it needs to be created in the correct directory on every OS (macOS, Linux, Windows). For instance, on Linux, it's ...
digito_evo's user avatar
  • 3,582
0 votes
0 answers
31 views

How can I create a directory on Linux with Python when the base path should include ~/? [duplicate]

I would like to use Python to create a directory on Linux (i.e. ~/mydir/). I tried this... from pathlib import Path Path('~/mydir/').mkdir(parents=True, exist_ok=True) ...but this creates the ...
IslandPatrol's user avatar
0 votes
0 answers
244 views

Powershell: get homedirectory and replace username with other username [duplicate]

We have users coming in from other OU. I am creating a script to copy all the necessary attributes in AD. All is okay, except for the homedirectory. The homedirectories are not always on the same ...
Pisces's user avatar
  • 1
0 votes
0 answers
91 views

Find homedirectory absolute path and work with that path

I am fairly new to Powershell and have been googling for a solution for weeks now. I am looking for a way to find the absolute path of a homedirectory and work with that path. We have homedirectories ...
Pisces's user avatar
  • 1
3 votes
2 answers
4k views

How can I retrieve the home directory/profile path of a different local user with Windows Powershell

Rather than looking for "$env:HOMEDIR", I'm looking for a way to query the home directory of a different user account. The powershell equivalent of "~bob". I attempted using [ADSI]:...
kfsone's user avatar
  • 24.1k
0 votes
0 answers
46 views

Commands referencing Homefolder via tilde run from a script appear to operate on different folders than these commans typed directly into the terminal

I've recently setup a new computer and wanted to collect all commands I use to setup my system in a primitive bash script. This way I thought to have an easy start with my next setup. However, running ...
TopologicalFieldTheory - TFT's user avatar
1 vote
1 answer
862 views

Is there important information in the $HOME/.gradle directory?

I'm about to backup my (Linux) home directory, and in the process of culling some of the larger files/subdirectories whose contents I dont need (e.g. .cache, .ccache etc.) - I noticed I have a pretty ...
einpoklum's user avatar
  • 127k
0 votes
0 answers
292 views

Update Jenkins Home Directory

I'm using Mac, I have copied all the contents from old locaiton to new location. Initial Home directory is Users/xxxxxx/Jenkins/Home and after changing configure system in Home directory still points ...
aravind chukkala's user avatar
0 votes
1 answer
15k views

How to move the folder from home directory to the root directory in Linux?

I copied one folder from local to home directory by using WINSCP. Now I want to move the folder from home directory into root directory. I used this command: mv /home/user/data/* /root/data It ...
Paakiya's user avatar
  • 21
0 votes
1 answer
529 views

Accidently deleted files in cPanel home directory

I just wanted to delete the files under the public_html folder. But accidentally I deleted all the files under the home directory, like- etc, logs, mail, public_html, public_ftp, ssl, tmp, www. I have ...
Ali Ahammed's user avatar
2 votes
1 answer
995 views

What is equivalent of "$HOME/.cache" on Windows?

I want to store some intermediate results in cache on file system. On Linux I can use simple cache_dir = getenv("HOME") + "/.cache/my_program_dir" What would be similar location ...
Artyom's user avatar
  • 31.5k
1 vote
0 answers
709 views

Create $HOME/bin symlink pointing to remote directory that works with $HOME/bin specified in $PATH

I've made a folder under my home directory called profiles. I've moved my dot profiles to this folder, and then symlinked to them in the home folder with command like ln -s ~/profiles/.bashrc ~/....
Russ Thils's user avatar
0 votes
1 answer
196 views

Bitbucket Server Backup Client in ubuntu server

Hi I am new to bitbucket backup process. I tried to backup the bitbucket server using the client by the typing the below line Example java -Dbitbucket.password="admin" -Dbitbucket.user="...
Mohammed Irfan's user avatar
0 votes
1 answer
340 views

Where is home directory in GCP app engine standard environment?

I have distributed the django web page to the app engine of the gcp standard environment, and now I want to distribute it including the marvinJS of chemaxon. In order to use that app, you need to put ...
hyungsik.jo's user avatar

15 30 50 per page
1
2 3 4 5
13