Skip to main content

Questions tagged [paths]

Questions related to path in networking, file system and OS.

Filter by
Sorted by
Tagged with
1 vote
1 answer
448 views

How to add man page for postgres?

I just install postgres 9.6 inside my /opt directory. I want to show the man page of the postgres. While I type man postgres, it says, No manual entry for postgres. I think this error may arises ...
Tek Kshetri's user avatar
0 votes
1 answer
6k views

How to permanently change a PATH variable in Debian [closed]

I'm trying to change the directory that is accessed when I call blender in my terminal. This is currently where it is: ...$ which blender /usr/bin/blender And I'd like to instead use the version ...
Otherness's user avatar
  • 113
-2 votes
1 answer
4k views

Default python path - bash: /usr/local/bin/python2.7: No such file or directory

When I write python on terminal get an error bash: /usr/local/bin/python2.7: No such file or directory but if I use in terminal python2 or python3 it's working perfectly How to solve this? Please ...
MD SHAYON's user avatar
  • 395
25 votes
1 answer
9k views

Why isn't tilde recognised as home folder in this case?

This doesn't work: $ ls "~/.wine/drive_c/tools/Family Tree v2.0" ls: cannot access '~/.wine/drive_c/tools/Family Tree v2.0': No such file or directory But this does: $ ls "/home/daniel/.wine/...
Gigi's user avatar
  • 681
1 vote
1 answer
750 views

Can't append to PATH in ~./bashrc using $Home

I just want to add a path in ~/.bashrc as: export PATH="$Home/gg/gamit/bin:$Home/gg/kf/bin:$Home/gg/com:$PATH" But when I am using echo $PATH is showing it as: /gg/gamit/bin:/gg/kf/bin:/gg/com:/...
sandeep gupta's user avatar
1 vote
1 answer
2k views

How to add a directory to PATH in Linux ? I am using Windows Subsystem for Linux - Ubuntu [duplicate]

I am new at Linux and I am facing a problem. I am trying to add the bin directory to the PATH in the Linux executing the command below: $ export PATH="/opt/gcc-arm/bin:$PATH" However, when I try to ...
Geisterfahrer's user avatar
3 votes
1 answer
630 views

How do I get the path of the Explorer window in 19.10?

If I open the default Explorer window and navigate to a folder how can I copy/paste the path? All the solutions I can find seem to rely on deprecated tools like Ubuntu Tweak.
parsley72's user avatar
  • 368
1 vote
3 answers
12k views

How to run an executable file from a different directory without cd or modifying the PATH?

Variations similar to what I want to ask exist but I could not find the exact question, so I'll ask it here. Let's say I have a comiled .c file resulting in the executable ex which is located as /mnt/...
NotNotLogic's user avatar
0 votes
1 answer
247 views

Run node script with a global variable

I have a node script index.js with a node_modules folder. /script/myTestJscript/index.js /script/myTestJscript/node_modules /script/myTestJscript/package.json I could run the script with the command ...
emna87's user avatar
  • 1
-1 votes
1 answer
3k views

Command not found error after trying to install mgltools on WSL

I am working on Ubuntu windows application. I want to use a tool and I have downloaded the file and install it is in /usr/local/bin. I want to access the tool from anywhere and for that I have write ...
Rhea's user avatar
  • 571
0 votes
1 answer
11k views

syntax error near unexpected token `(' in .bashrc [duplicate]

-bash: /root/.bashrc: line 100: syntax error near unexpected token `(' -bash: /root/.bashrc: line 100: `export PATH=/bin/lscript:/bin/lscript:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/...
shArk's user avatar
  • 1
18 votes
2 answers
24k views

Where are gnome extensions preferences stored?

Am creating a dotfiles git repo for my gnome setup and would like the precise settings for the Gnome extensions to be transferrable across installations I found that the extensions themselves are ...
Salim Djerbouh's user avatar
0 votes
1 answer
142 views

Accidentally changed the Path environment variable while installing java via the terminal

While following a tutorial from Stack Overflow, I set the Java path as instructed, but in the process I got an error. Now I cannot login, as usr/bin:/usr is not found.
Ismail Tebusweke's user avatar
0 votes
0 answers
4k views

19.04 bash : /usr/sbin/ip No such file or directory

19.04 updated everyday Today this happened : ip r bash: /usr/sbin/ip: No such file or directory But then there's this : which ip /sbin/ip This does not happen in a dash shell, but I don't want ...
Stephen Boston's user avatar
0 votes
2 answers
826 views

File ignored PyCharm Pro IDE and this the correct sys.path for PYTHONPATH?

My PyCharm IDE doesn't automatically create a venv directory so I have to manually create my own. My venv directory comes up as ignored. This is normal. A possible solution is found the comment ...
SeemsToBeStuck's user avatar
1 vote
0 answers
49 views

How to link command to correct program? [duplicate]

I've installed a command called gsutil on my Ubuntu VM with the command sudo snap install google-cloud-sdk --classic However, when running gsutil I started an unrelated existing program of ...
Josh Friedlander's user avatar
1 vote
1 answer
64 views

Ubuntu 18.04 Does Not Accept "\" or any other appropriate character in paths

I have just installed Ubuntu 18.04 on a former Windows 7 laptop. When trying to connect a printer belonging to a Windows computer on my network through Samba, I find I cannot insert spaces into the ...
SgianDubh's user avatar
4 votes
0 answers
3k views

underclock an old GPU with amdgpu driver

I have an old graphics card (saphire r9 270x pitcairn architecture) that keeps crashing when under maximum load. the preset stock clock is 1070mhz and it runs fine when underclocked to 1000mhz. I've ...
mangorilla's user avatar
0 votes
1 answer
2k views

How to run python script from computer and do to the file in flash drive

I have Python script that will read file "Customer_List" ,operate it, and write it back to Customer_List again.It's running well on Windows but I want to know how to run it on Ubuntu I need to run ...
beginner's user avatar
0 votes
1 answer
17k views

My $PATH variable is messed up. How to change it back?

Whenever I try basic commands in the terminal like sudo or ls, I get this error: Command 'sudo' is available in '/usr/bin/sudo' The command could not be located because '/usr/bin' is not included ...
R. Siva's user avatar
0 votes
1 answer
276 views

How can I share a PATH?

I used the following commands to install g77 compiler on Ubuntu 19.04: sudo gedit /etc/apt/sources.list Then to the bottom of that file I added: deb [trusted=yes] old-releases.ubuntu.com/ubuntu ...
Shaimaa Mostafa's user avatar
0 votes
0 answers
220 views

How do I include '/usr/bin' in the PATH environment?

I did a mistake and I can't do anything white the terminal. When I try a command it just says: Command 'sudo' is available in '/usr/bin/sudo' The command could not be located because '/usr/bin' is ...
DayLizard's user avatar
0 votes
2 answers
1k views

Finding the path to a file from terminal

I am trying to retrieve the path to a Java class file. I have 2 projects in my eclipse: project_a and project_b. I navigated to project_a's bin folder and tried the command locate WebPerformanceUtil....
Prasanth Ganesan's user avatar
13 votes
3 answers
5k views

How to know the path of a particular software?

Context: I'm trying to make an application automatically start when I login. For this I need to select the path for the application. Here are the paths I already looked into: /sbin /usr/sbin /usr/...
Ced's user avatar
  • 823
1 vote
0 answers
67 views

Is it possible for bash to recognize hardlinks or symlinks in $PATH?

Terminal, WSL For example, I currently have GHC's executable in ~/bin/ghc/bin/ghc, but my $PATH only specifies /home/user/bin. I have tried running ln ~/bin/ghc/bin/ghc ~/bin/ghc-usr, but bash still ...
schuelermine's user avatar
1 vote
1 answer
2k views

I've installed lsd in Ubuntu 19.04. But when I run lsd command, it shows command not found

Command 'lsd' is available in '/snap/bin/lsd' The command could not be located because '/snap/bin' is not included in the PATH environment variable. lsd: command not found How can I solve this ...
Sahil Ansari's user avatar
1 vote
1 answer
1k views

PATH and sources.list issue

I have discovered an issue with PATH and /ect/apt/sources.list Please could you advise how to resolve it? As I am very novice to coding and stack exchange please could you comment and let me know ...
Gus Bishop's user avatar
0 votes
2 answers
724 views

can relative path access more than one level?

I'm new to Linux and was wondering if relative path can access more than one level. For example: /home/john/Desktop/Myfiles/text.txt If i'm currently at ~/ can i jump to text.txt without having to ...
Anhtu's user avatar
  • 1
1 vote
1 answer
2k views

Pass/set `current directory` to/for a shell script from Java in Ubuntu 16.04

While trying to automate an installation process in Ubuntu 16.04 with a .jar file, I did not know how to solve the following problem: Problem description Part of the installation files automatically ...
a.t.'s user avatar
  • 337
2 votes
3 answers
31k views

how to edit PATH in bashrc

I edit PATH and just insted $PATH i write SPATH sooo I'm stock in login loop and with root terminal try to login and edit PATH so, I don't know how to get bashrc with which command and how to edit ...
Husen's user avatar
  • 123
0 votes
0 answers
711 views

How to make cmake use my newly installed Qt on the home folder?

My Qt was installed on /home/lz/Qt5.11.2/. ls /home/lz/Qt5.11.2/5.11.2/gcc_64 bin doc include lib libexec mkspecs phrasebooks plugins qml qtvirtualkeyboard resources translations I tried ...
Guerlando OCs's user avatar
1 vote
1 answer
6k views

How to set the path to the latest Open MPI version?

I'm using Ubuntu 14.04 and the installed Open MPI is 1.6.5; I've installed the Latest Open MPI(4.0.0) following these instructions here and set the installed location by- ./configure --prefix=/$HOME/...
paul-shuvo's user avatar
0 votes
1 answer
1k views

How to set, permanently, my own directory instead of /home/bin in $PATH in ubuntu? [duplicate]

This might be a repeated question, but I couldn't relate to any previous answer. I basically want to run my shell-script from anywhere in ubuntu 16.04 (whether I'm inside the directory where the shell-...
McLan's user avatar
  • 251
10 votes
5 answers
11k 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 ...
whitelightning's user avatar
2 votes
1 answer
958 views

Shebang line for Node does not work in Ubuntu 18

I have just created an Ubuntu 18.04 instance on AWS and copied an existing project over. The usual shebang line for Node #!/usr/bin/env node now doesn't work. It gave: #!/usr/bin/env: No such file ...
Old Geezer's user avatar
4 votes
1 answer
32k views

Adding folders to your PATH environment variable

Currently running Ubuntu 18.04 LTS. I'm trying to install Ndless and the SDK that goes with it so I can write programs in C and run them on my calculator. Anyways, I was wondering if somebody could ...
Display name's user avatar
1 vote
0 answers
4k views

"cmake --version" points to /usr/bin/cmake while "which cmake" points to /usr/local/bin

I am trying to upgrade cmake on my linux computer. Here is the command I used sudo apt purge --auto-remove cmake After downloading and extracted cmake-3.13.3.tar.gz ./bootstrap make sudo make ...
kkawabat's user avatar
  • 111
22 votes
3 answers
50k views

How can I add ~/.local/bin to my PATH?

I'm just trying to follow this tutorial and set up my environment. My system is WSL Ubuntu 18.04. Here is already an answer on my question, but I as an absolute novice in Linux/UNIX don't know which ...
Alex's user avatar
  • 457
0 votes
1 answer
5k views

I compiled ffmpeg and somehow installed it to /usr/local/bin/bin/ffmpeg. Can I move it myself without causing errors?

Since terminal can't find it anyways, I would assume it's safe to move, but I'm not sure how that would affect other files that either rely on ffmpeg install path if they do. FWIW I used ./configure -...
avisitoritseems's user avatar
1 vote
1 answer
6k views

Can't launch Qt Creator in Ubuntu 18.04

My environment initially had qt4 and Qt Creator seemed to work fine back then. I installed qt5 and after that Qt Creator does not launch anymore. Qt Creator works fine in my virtual machine however. ...
LostDeveloper's user avatar
0 votes
0 answers
1k views

How to fix apt-get: command not found in Ubuntu 18.10?

I'm trying to install software in Ubuntu 18.10 with sudo apt-get command, but it gave me the error – apt-get: command not found. I used locate apt-get and found that apt-get is located in /usr/bin, ...
Guan's user avatar
  • 1
0 votes
0 answers
84 views

Zimbalaka: What is the full path to directory in celeryd.conf?

I am trying to install and run Zimbalaka (a Zim file creator for Offline MediaWiki in an app like Kiwix) in an Ubuntu Desktop 18.10. At a certain point, instructions tell to modify a line to contain ...
pdeli's user avatar
  • 111
0 votes
1 answer
400 views

Chromium is showing a wrong path to the Desktop

I just installed chromium from the Ubuntu Software center, and when I try to download anything and choose the Desktop link from the left column located on that window that appears, it saves the ...
darksoulsong's user avatar
0 votes
0 answers
37 views

Some apps do not launched by double left mouse click

Some app do not launched by double left mouse click if app's path has spaces! App be launched if run in terminal.
Sneirox's user avatar
1 vote
1 answer
107 views

How to COPY a directory location? [duplicate]

I've been struggling with this since I've installed Ubuntu: How do I copy a directory location? For example: /home/user/downloads/game/game.sh Do I have to type every single letter on terminal? ...
Daniel Lus's user avatar
1 vote
1 answer
1k views

'sudo' is not available (command is not in the PATH)

Okay. I don't just copy-paste commands from the net, and I didn't see how/why that one would mess things up, but here.... I wanted to configure webstorm for dev. So I followed these instructions: $ ...
LogicOnAbstractions's user avatar
-1 votes
1 answer
817 views

python get the correct path for a file

I want to write out the path of zipfiles, which are located in "zips" folder. Here is my code : import os, zipfile directory = 'zips' for filename in os.listdir(directory): if filename.endswith(...
Krsztr's user avatar
  • 457
0 votes
2 answers
2k views

configure error line 38: sort: No such file or directory

Using configure, ends with the following message: ./configure: line 38: sort: No such file or directory ./configure: line 35: sed: No such file or directory
qwr's user avatar
  • 2,852
1 vote
0 answers
310 views

IRSTLM path environment variable

I am trying to get IRSTLM to work. I have set the pah using: PATH=:/usr/local/lib/irstlm:$IRSTLM And then when I am tyring to run the build-lm.sh function it is telling me that it is located in /usr/...
zefzhrtyts's user avatar
1 vote
1 answer
9k views

Error while trying to install Nvidia drivers

Getting this error: Unable to find the development tool make in your path; please make sure that you have the package 'make' installed. If make is installed on your system, then please check that ...
user871932's user avatar

1 2
3
4 5
10