New answers tagged

1 vote

Installing Software with Missing Library - libusb1.0

I had the exact same problem. My solution was to do the following: sudo apt install libusb-1.0-0 sudo apt install libusb-1.0-0-dev I then tried a few times but cmake wouldnt work, even though libusb ...
0 votes

`bash: scp: command not found` while I do have `scp` in `$PATH`

It maybe silly but do you have a variable name PATH inside your script ? It happen to me, I use a variable name PATH which overwrite the actual $PATH. Change this variable name, and you should be OK.
0 votes

Tangled up file paths trying to take Desktop off of OneDrive

The fact that the Public folder is displaying on your Desktop and Users is displaying under This PC and the shell:UsersFilesFolder makes me think you redirected the folder to C:\Users. Open regedit....
  • 8,016
0 votes

How to remove duplicate dirs from $PATH?

Here is a pretty print version if [[ -x /usr/bin/awk ]]; then export PATH="$(echo "$PATH" | /usr/bin/awk 'BEGIN { RS=":"; } { sub(sprintf("%c$", 10), "");...
  • 109
0 votes

How to go to a certain path (folder containing a certain file) in Total Commander?

The selected answer doesn't work if you're in the root since there is no [..] there. There is a keyboard shortcut you can assign to focus the path textbox: cm_EditPath. Set a shortcut in Options -> ...
1 vote

Path without leading slash

When you use ./, you are declaring that you refer to a file from the current folder. When you use path without it, you might not have intended for the command to be executed from the current folder. ...
  • 436k
1 vote
Accepted

Path without leading slash

There's no difference for standard file access. Paths like ./foo are valid because . as a path component is valid, and there is no need to deliberately make them invalid, thus they remain valid even ...
  • 407k
1 vote
Accepted

override windows store open action when launching python in powershell

Do this : Open "Settings > Apps > Apps & features* Click "App execution aliases" Scroll to the bottom of the list and uncheck the entries for "App Installer - python.exe&...
  • 436k
1 vote
Accepted

Restore previous folder windows after restarting explorer.exe

I've written PowerShell code to save and restore most aspects of Explorer windows including: Location (full shell namespace path) Window size, position, and state (including FullScreen) a subset of ...
  • 8,016
0 votes

PATH, bash, profile

Copy /usr/share/base-files/dot.profile to ~/.profile and then append the line PATH=${PATH}:/dir/to/be/added as the last line of the file. Source the profile using . ~/.profile to confirm it works. ...
  • 616
0 votes

Linux Mint $PATH, environment global change

While Hannu's answer is correct for terminal-based programs (as long as you are using bash as your shell), it does not work for most graphical programs. Most answers probably are reffering to ~/....
  • 280
0 votes

Linux Mint $PATH, environment global change

Do... $ man bash ... type / then .bashrc, and hit Enter, then hit n twice and you will see: When an interactive shell that is not a login shell is started, bash reads and executes commands from /etc/...
  • 8,436

Top 50 recent answers are included