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
190
questions
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
...
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 ...
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 ...
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 ...
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 ...
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]:...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ~/....
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="...
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 ...