0
votes
1answer
28 views

Debian 9: bash: ls, cat, command not found after incorrectly modifying PATH

Most of the commands are no longer working after modifying PATH.Instead of PATH=$PATH:/home/z***d/Programs/anki-2.0.50it ended this way export PATH=PATH:/home/z***d/Programs/anki-2.0.50 wasn't ...
0
votes
0answers
141 views

Vagrant ruby path issues with cmder

I recently installed cmder, a terminal that is more customizable / visually easier than windows command prompt.When I run a command like vagrant ssh in cmder, I get this error:Exec error: exec: "...
1
vote
3answers
87 views

How to invoke a script using a relative path with it's parent dir mapped into PATH?

I have a folder /usr/bin/vendor/ which is added to PATH by convention and contains e.g. the shell script do_something.sh. Now I would like to add a subfolder /usr/bin/vendor/some_tool/ to additionally ...
2
votes
1answer
165 views

Not able to access path of mobile phone in cmd

I'm kind of new at CMD so please go easy on me. I am trying to copy files from my mobile phone via robocopy in CMD as the regular copy/paste doesn't support some of the features of robocopy I'd like ...
0
votes
0answers
61 views

executable program is not recognized by cmder even though I have added its directory to system PATH

Recently I installed Pandoc and added its install directory to my system PATH. But I found that I can execute the program only in the system cmd, not in cmder. I reinstalled the cmder program and ...
0
votes
0answers
44 views

Adding to PATH system variable using a bat file

I want to run a .bat file once and add multiple values to my path environment variable. I'm having all sorts of problems with it.Well, first, I want this file to check if any entries are already on ...
1
vote
0answers
57 views

How I get my command prompt to show just the name of the folder I'm in (not the whole path))

In a command prompt window (terminal), how can I get my prompt to be just the current folder?e.g.prompt $p $ggives:C:\Users\Robin >But I want it to just show:Robin > UPDATE: As @...
1
vote
1answer
129 views

PATH variable showing different values (command prompt vs environment variables dialog box)

My Windows 7 PATH variable shows different content weather I enter the PATH command in the command prompt or weather I go through the environment variables dialog box. More over, the PATH variable ...
1
vote
2answers
63 views

I added a new path to the list of paths but unable to execute the program from anywhere linux

I added a path where my own scripts reside which is executing fine when I give absolute paths in the terminal to execute. I read that adding path of such directory in the list of paths will enable ...
0
votes
2answers
67 views

Different behaviour of cmd depending on the form of the path string

In cmd window I can't cd to a directory if it is set by a user environment variable.The variable content is OK.If I cd to the directory set by the content of the variable, it works OK, too.Could ...
1
vote
0answers
24 views

Path empty, after relocating the user data folders

A few days ago, I relocated my user data folders ("C:\Users\Me\Documents", "C:\Users\Me\Downloads", "C:\Users\Me\Videos", etc.). I set the new location to "D:\Documents", "D:\Videos", etc, to save ...
1
vote
1answer
201 views

Changing path for destination of file after using put command in tftp

I am using two linux machines to do tftp file transfer. The transfer is happening properly if server_args path is /var/lib/tftpboot(default path).But when i change it to some other path for eg(/home/...
0
votes
1answer
35 views

How does EXPORT work?

I tried to use export to set a PATH. But, I can not understand how it works?This is my command:export PATH=.:$PATHSo how it works? and What does PATH look like? Thanks
1
vote
2answers
2k views

Start sh.exe (bash) with given path

I need to start the git-bash (sh.exe) with a predefined path in a Windows environment.For cmd.exe this can be done with a command like:cmd.exe /K "cd /d {PATH_GOES_HERE}"For powershell.exe this ...
3
votes
2answers
465 views

non-interactive ssh session not finding command even though it is in the PATH

I am trying to run a command via ssh on a server running mac os 10.9.5 with a command likessh server.address commandand am getting the error bash: command: command not found.When I log in with ...

153050per page