Questions tagged [paths]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

Where is the root folder of a NextCloud server that is installed on a Ubuntu 20.04 server?

I'm setting up private chat & text on a NextCloud server on a Ubuntu 20.04 server I used this video for setup: https://www.youtube.com/watch?v=1zXnypuu27I It's using the syntax for openSUSE so ...
2
votes
4answers
107 views

Alternative to Nautilus for copying file paths?

I just moved from Ubuntu 18.04 to 20.04. A strange behaviour in Files (Nautilus) is that you cannot copy a file path. Instead, it copies x-special/nautilus-clipboard copy file:///home/mywork/test.txt ...
0
votes
0answers
13 views

conda initialize error in .bashrc

bash: /home/user/.bashrc: line 125: syntax error near unexpected token `>' bash: /home/user/.bashrc: line 125: `>>>conda initialize>>>' I am continuously getting this error on ...
0
votes
0answers
26 views

Stuck at lock screen login loop

Lately I tried to change the path after installing pycharm. They recommend to logout. After that I'm not able to login. I'm using ubuntu 20.04lts.
0
votes
0answers
23 views

How can i change PATH in Ubuntu terminal? [duplicate]

i'm using Ubuntu application which is download from Microsoft store, my question is "how can i change path in Ubuntu".
0
votes
0answers
35 views

Can not install gem bundle because of massing path variable

I need to install bundle for ruby. I installed ruby as explained in the wiki. But if I execute gem install bundle, I revieve: WARNING: You don't have /root/.gem/ruby/2.7.0/bin in your PATH, gem ...
-1
votes
1answer
55 views

My System is failed to unlocked

I mistakenly change my variable path of my xubuntu 18.04, i have tried many options found in this platform but is not working for me. Please i need an urgent help Screenshotof my tty4 console
0
votes
1answer
19 views

Trouble starting MATLAB via Alt+F2

I've recently installed MATLAB to /opt/matlab/R2016a and I've managed to give myself the privilidges to run it. Next I wanted to be able to run it from a terminal and or the Alt+F2 "quick command line"...
0
votes
1answer
61 views

After installing binary to another directory, error “No such file or directory”

After uninstalling a program with apt and reinstalling it in another location (ex. pypy with snap), running the program from command line reports bash: /usr/bin/pypy: No such file or directory, but ...
0
votes
0answers
56 views

How to add to /etc/environment?

I use a mac at work, which has /etc/paths to add paths, with the syntax: /usr/foo /usr/bar Using wsl with ubuntu-18.04-ls, I wanted to add "/home/linuxbrew/.linuxbrew/bin" to etc/environment, ...
0
votes
0answers
48 views

No bclfastq found on path

I tried to run bcl2fastq, but it said [error] No bcl2fastq found on path. Thanks in advance for any help and suggestion! Best, Yue li@li-HP-Pavilion-Desktop-590-p0xxx:~$ bcl2fastq --help ...
0
votes
0answers
170 views

Changing the default file path for gcc compiler

I'm trying to compile a file named "filename.c" and as far as I know, it has to be in the Home folder when I use the command: gcc filename.c -o filename Alternatively, I would have to specify file ...
2
votes
1answer
205 views

Problem with accessing an installed ruby gem package from a shell script under Ubuntu 16.04

I used snap to install the latest version of ruby under Ubuntu 16.04 $ sudo snap install ruby --classic $ which ruby /snap/bin/ruby $ ruby -v ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-...
1
vote
0answers
112 views

Need a Universal Username for a .desktop file. Can someone help? $USER / $LOGNAME Don't Work. 18.04

Trying to create a .desktop file for a program and it requires a universal username path so instead of Exec=/home/john/myscript.sh it's Exec=/home/$USER/myscript.sh. in .desktop files you need an ...
1
vote
0answers
57 views

After removing sddm and lubuntu-desktop, my desktop environment is missing some environment variables

After removing sddm and lubuntu-desktop, and using startx to spin up a graphical interface with my window manager of choice (cwm), ~/.local/bin is not on the PATH anymore. I googled around and it ...
0
votes
1answer
77 views

Set path environment variable in Ubuntu [duplicate]

By mistake, I changed the path environment variable in Ubuntu. Now when I turned my pc on, the login screen is coming and after entering my password and pressing enter, the screen goes away for a ...
0
votes
0answers
58 views

My installation path is different with the documentation path, why?

Recently I'm installing OpenVino from scratch following this documentation : Install Intel® Distribution of OpenVINO™ toolkit for Linux* . Now after several steps, I realized that the output path ...
1
vote
1answer
35 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 ...
0
votes
1answer
171 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 ...
-2
votes
1answer
383 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 ...
19
votes
1answer
4k 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/...
1
vote
1answer
139 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:/...
1
vote
1answer
317 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 ...
2
votes
1answer
98 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.
0
votes
3answers
179 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/...
0
votes
1answer
62 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 ...
-1
votes
1answer
1k 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 ...
0
votes
0answers
414 views

How can i find path to ZLIB and OPENSSL?

I am use Ubuntu 18.04 How can i find path to library ? I compile code, and i get this error. -- Performing Test HAVE_CXX_FLAG_WREDUNDANT_MOVE - Success -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ...
0
votes
0answers
606 views

cannot open shared object file: No such file or directory even though it exists

This happens in WSL(Windows Ubuntu, version 18) name@server:~$ python kaldi_decode_wav.py ... ImportError: libkaldi-cudamatrix.so: cannot open shared object file: No such file or directory name@...
0
votes
1answer
250 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:/...
4
votes
1answer
1k 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 ...
0
votes
1answer
29 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.
0
votes
0answers
61 views

How to create $SHELL for VSCode

I just installed VSCode, but when I try to run a terminal in my workspace on my HDD disk (Ubuntu is installed on SSD) it says: The terminal shell CWD "/media/popcorn/data/Projects" does not exist. ...
0
votes
0answers
431 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 ...
0
votes
0answers
468 views

bash: /usr/local/bin/npm: No such file or directory [duplicate]

Why is bash searching for npm only in /usr/local/bin, when npm is in /usr/bin and /usr/bin is in PATH? Shouldn't it continue to search in PATH and eventually find it in /usr/bin? root@214cea623607:~# ...
0
votes
2answers
345 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 ...
0
votes
0answers
45 views

Redirect file paths

Is there an easy way to filter and redirect file accesses to certain files? For example all requests to /D/00/*.jpg should access the physical file /mnt/sdb1/00/*.jpg. Is there a tool providing a ...
1
vote
0answers
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 ...
1
vote
1answer
52 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 ...
3
votes
0answers
577 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 ...
0
votes
1answer
465 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 ...
0
votes
1answer
1k 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 ...
0
votes
0answers
30 views

my python & ipython are directing to my venv even after deactivate

I have 2 git repos, with virtual environments installed on each one. I may have worked on one of them with the other's venv on, but since then I have activated & deactivated the venv. However, I ...
0
votes
1answer
91 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 ...
0
votes
0answers
70 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 ...
0
votes
0answers
20 views

Ubuntu login loop after changing PATH after installing npm

I followed a tutorial to install StarUML and they told me to change my path to /home/user/.npm-global/bin:$PATH:snap/bin And now I can't login to Ubuntu. How can I change my path to default path and ...
0
votes
2answers
214 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....
13
votes
3answers
2k 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/...
1
vote
0answers
49 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 ...
1
vote
1answer
262 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 ...

1
2 3 4 5
8