Questions tagged [paths]
Questions related to path in networking, file system and OS.
428
questions
2
votes
1
answer
319
views
How does PATH get its contents back after I restart the shell?
Exercise 2 from Missing Semester asks the following:
Run PATH= and try running the previous commands again, some work and some don’t, can you figure out why?
Setting PATH= removes all the contents ...
0
votes
1
answer
17
views
How to add browser cutable path in ubuntu
just trying out ubuntu, and installed a node/npm CLI application where we can run the command in the terminal. That command/tool requires us to specify the browser e
cutable path every time when we ...
0
votes
0
answers
72
views
No such file or directory when running sqlplus command
root@instance-20220315-0833:/usr/lib/oracle/19.10/client64/bin# ls
adrci genezi sqlplus
root@instance-20220315-0833:/usr/lib/oracle/19.10/client64/bin# ls -al
sqlplus
-rwxrwxrwx 1 root root 72384 ...
0
votes
1
answer
27
views
How do I get snap out of my $PATH?
When I echo $PATH the output ends in .../usr/local/games:/snap/bin
I had an ugly breakup with snap after a brief flirtation, how can I get it out of my $PATH?
2
votes
1
answer
52
views
ffmpeg-normalize not working in Python
I have ffmpeg-normalize installed through pip3
It seems to work from the terminal but I need to run it through python subprocess.
Everytime I try to run it the error says:
/bin/sh: 1: ffmpeg-normalize:...
0
votes
2
answers
61
views
Ubuntu CLI, replace a long filepath/filename with a shortcut
I have a long path to some of my files and I don't want to type and/or use the Tab-key as much when using it with commands in the Terminal.
So I want to add "shortcuts" to some them (both ...
7
votes
1
answer
1k
views
After installing youtube-dl on Ubuntu 21.10 with the instructions on github many applications, including default text editor, broke
A new user here, running ubuntu on version 21.10 impish.
I was installing youtube-dl with the instructions on the github page (https://github.com/ytdl-org/youtube-dl#installation):
$ sudo curl -L ...
-7
votes
1
answer
34
views
How do I put extracted folder 'Cleanto' on my website root so that the path should look like http://yourwebsite/cleanto/index.php [closed]
How do I do step 3? I am not tech savvy, so please make it simple.
Way to Installation We are trying to make the installation process more easy and handy so that user can install our system in his ...
1
vote
0
answers
56
views
Desktop file doesn't work
I'm trying to make a desktop file for vcvRack. I have the program and other files saved in ~/.Rack/. The program launches fine when I double click it or launch in from terminal using ./Rack.
The file ~...
0
votes
1
answer
30
views
When Dolphin finds a file, what is the path to that file?
When Dolphin finds a file, it does not indicate the path to that file. How can I find out what that path is?
8
votes
1
answer
4k
views
Where is WSL located on my computer?
I am new to Windows and have installed WSL2 based on the instructions provided here.
It works fine, but I cannot locate where it has been installed on my computer. The output for pwd is home/nkp68.
...
0
votes
1
answer
83
views
How can I change source directory from System 32? [closed]
I am a newbie in Ubuntu. When I open my terminal, the source path (directory) starts with System32, how can I change it to User or Desktop ?
When I type cmd.exe :
Microsoft Windows [version 10.0.19042....
0
votes
0
answers
26
views
I have to add this directory to path or it is something else
I downloaded some games from itch.io When I tried to open that after making it executable it says -
Set current directory to /home/user/gamefolder
Found path: /home/user/gamefolder/gamename
That game ...
1
vote
0
answers
419
views
KDE applications installed through plasma-discover not showing, must be launched through Software Center
KDE version: Ubuntu 20.04.3 LTS
Plasma Discover Version: 5.18.5-0ubuntu0.1
I rebooted my PC and afterwards, any applications I had previously installed through plasma-discover (https://userbase.kde....
0
votes
2
answers
134
views
Modify path to include quotes
Ubuntu is installed on a Windows OS. I have searched and found how to add a new path but I'm not quite getting how to modify a path that already exists and then adding quotes around paths with spaces. ...
0
votes
0
answers
112
views
Error while loading .profile on ubuntu 20.04
Yesterday I have changed my .profile to include go path. And it looks like this:
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
....
0
votes
1
answer
54
views
Find the absolute path for the root of the codebase
I need to find the absolute path for the root of the codebase.... is that a way to get it out easily??
I have a website that runs on on EC2 AWS/Ubuntu written at 95% in PHP and is linked with plesk. I ...
0
votes
0
answers
110
views
I tried to install GMT6.2.0 in ubuntu 20.04 through apt & also building it after downloading GMT & other supportive,says commant not found. Path Issue
First I tried to install GMT through #sudo apt-get install gmt. it was installed including all necessary dependencies like netcdf, cmake, curl, gdal etc. When I said #which gmt output is /usr/local/...
1
vote
2
answers
55
views
Can we have multiple path/directories for fonts in linux?
Is there anyway to have multiple directories for loading fonts in Linux distros? Or loading the fonts from a directory inside .fonts such as .fonts/DIRECTORY?
I have two sets of fonts, and I don't ...
0
votes
0
answers
51
views
PYTHONPATH really messed up, hoping to fix without wiping computer
I'm still figuring out how to set environment variables and paths and such, so this was bound to happen I suppose, But before trying to get started with python, I didn't know it already came installed ...
3
votes
1
answer
1k
views
"/usr/bin/python: No module named virtualenvwrapper" error when opening terminal
I'm using Ubuntu 20.04 (clean installation, I did not upgrade from a previous one) and when I open a new terminal (simply by Ctrl+Alt+T), it always starts with the output shown below (also shown in ...
2
votes
1
answer
2k
views
Texlive 2021: tlmgr
I have installed Texlive 2021 on Ubuntu 21.04 on a new laptop. There aren't previous version of Texlive in the system.
I have had to install it as root user since, while trying to install it as simple ...
0
votes
1
answer
398
views
deleted a folder from root(user), ubuntu how do i access the trash bin from terminal?
i have deleted a folder from the root user dir (same where var,usr,home,etc,lib is stored) using the Webmin browser GUI ...on url http:// IP :10000
VPS:
ubuntu 18.04
User : root
no GUI, only SSH and ...
0
votes
0
answers
34
views
How do I get to the correct directory with Path.resolve?
How can I get the downloads using path.resolve() . Or is there another way?
0
votes
0
answers
94
views
Where is the path for the java command defined in Ubuntu?
I am struggling to get my Ubuntu 20.04 to get to recognize the correct java version. I have set the correct environmental variable inside a shell script in /etc/profile.d/
My $JAVA_HOME output:
root@...
0
votes
1
answer
2k
views
How to change python3 path pointer?
I am using Ubuntu 20.04.2 LTS with python version 3.9.5 installed.
When I type which python in the terminal, it shows /usr/bin/python which is the default path for python2 (2.7 in my case).
But when I ...
0
votes
1
answer
104
views
I found a file path, but I can not open it [duplicate]
I am using ubuntu terminal on my windows 10. I cloned a project, and I have been working on it inside VSC for a week now. I finally closed the program, and when I open it again I could not find my ...
2
votes
0
answers
66
views
How do you get kate to show the path to each file it finds?
When using kate to search for a file or a folder, how do you get it to show the path to each item it finds?
1
vote
1
answer
655
views
How to run an executable from any directory in terminal by setting path?
The executable file name is julia. This executable is located at /home/siva/juliapro/julia/bin.
I have set the path to this directory, but still, if I enter julia in the terminal, it says command ...
2
votes
1
answer
92
views
Where is gambas3 installed?
I want to install the xt7-player-mpv video player, which was recently updated.
It is not available for Ubuntu as deb and compiling it required Gambas3. That is available and can be installed with
sudo ...
0
votes
1
answer
402
views
Export PATH does not work after restart
I am new to this. I installed drush and did
export PATH=$PATH:~/.config/composer/vendor/drush/drush
So that I can execute drush from the command line with the drush command
My issue is that I have to ...
0
votes
1
answer
28
views
Can't Log In After Adding To Path
I was trying to add Jupyter Notebooks to the permanent path in linux. I followed these steps:
Open a terminal window using Ctrl+Alt+T
Run the command gedit ~/.profile
Add the line export PATH="$...
0
votes
1
answer
75
views
Where are the image files for the software logos kept? [duplicate]
I'm looking for the image file where the logo for Vim is stored on my system. When I go to my bin, I can find "links to shared libraries".
I run
whereis vim
And I can find one of the paths ...
-5
votes
1
answer
83
views
how to write a command to remove a folder, name includes spaces.? [duplicate]
How can I delete a folder with whitespace in its name, but without quoting the folder name? I also need to be prompted to confirm the deletion. I know how to do it like this:
rm -ri /home/user/'my ...
0
votes
2
answers
88
views
Find the list of immediate next directory from the given location for reaching a destination file?
We can find the full absolute path of a destination file using find keyword. In my case, I need the list of all immediate next directory to my given location which can lead me to my program log file ...
1
vote
1
answer
264
views
A path set in /etc/profile/ doesn't appear on other users' environment
I have the following PATH variable in /etc/profile. The last line should allow me to use the conda command for any user.
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and ...
0
votes
1
answer
36
views
having trouble setting $PATH
I am trying to set the $PATH permanantly for Vault. I have cd to etc and run sudo nano environment. This opens and I have appended my needed path onto the end like this:
PATH="/usr/local/sbin:/...
0
votes
1
answer
814
views
Go packages not running as sudo
I installed golang via sudo apt install golang-go
I installed some go packages, like go get -u github.com/tomnomnom/assetfinder
I can run my packages without sudo, but when I do use sudo, the ...
0
votes
1
answer
270
views
Overwrote $PATH [duplicate]
I am new to linux and I was trying to set up path of JAVA_HOME but I accidentally wrote
export PATH=/usr/lib/jvm/java-11-openjdk-amd64
which I think overwrote $PATH.
I am quite sure I have messed up ...
2
votes
0
answers
628
views
Start intellij from anywhere
I have recently installed Ubuntu and I'm a bit confused.
I have downloaded VSCode and I can simply start it from my terminal using code.
I downloaded intellij and tried idea and intellij but none of ...
1
vote
0
answers
833
views
Add intellij to environment variables
I have recently installed Ubuntu on my system.
I downloaded Intellij and CLion using Ubuntu Software. In order to open it from terminal I used the command export PATH=$PATH:./clion.sh this command ...
1
vote
1
answer
512
views
Where do I define LD_LIBRARY_PATH so that Apache can see it?
I'm using Ubuntu 18.04. I have defined this in my /etc/profile file
export LD_LIBRARY_PATH=/usr/local/lib/
I'm trying to figure out where I define the above so that Apache can see it. Currently, ...
0
votes
0
answers
418
views
VS Code: No PHP executable is set
I am busy with a Udemy course about WordPress. The course uses VS Code as text editor and I love it, but keep getting a "No PHP executable is set error". PHP was loaded as part of the Local-...
0
votes
0
answers
14
views
Can No Longer Drill Down to Subfolders in Wine
Some Windows applications such as Notebook++ that require access to files seem unable to open some subfolders. For example, I want to open /var/www/html/ and whether I use C: or Z:, there is no + next ...
0
votes
0
answers
26
views
Places to set PATH [duplicate]
I need to set PATH and JAVA_HOME for my Oracle java. Where I can set these environment variables in Ubuntu in general. Where is the best place to set them?
0
votes
0
answers
308
views
tmux errors running bash commands due to path
When I run $tmux and open an instance of a tmux session and try to run a command such as ls I receive the following error:
∆ ls
Command 'ls' is available in the following places
* /bin/ls
* /usr/bin/...
0
votes
1
answer
603
views
Perl Module Location Issue
I'm on Ubuntu 20.04 LTS.
I ran the following commands to try to connect to my PostgreSQL database:
sudo -i -u postgres
postgres@{username}:~$ psql
This raised the following error:
Can't locate ...
4
votes
1
answer
2k
views
How to run scripts that are in PATH?
I'm pretty much completely new to Ubuntu, so bear with me.
I have made a few scrips without the .sh extension and granted them permission with chmod 755, and the scripts run just fine as long as I'm ...
-3
votes
1
answer
122
views
Understanding the windows equivalent of braces [closed]
I am following a manual written for ubuntu, however I am in a windows environment.
I understand the rm -rfv, but I have no idea what the braces do in the line below, I want to run the equivalent in ...
1
vote
0
answers
74
views
GCC C code compiling
I have a problem regarding gcc. Although I have a background programming in C, I have never actually used gcc. Until now that is. I have a Go program I am creating, that uses a library (Fyne) that in ...