Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

zsh command not found scp

I had a similar problem with zsh:

zsh:1: command not found: scp

The reason for the problem in my case what that $PATH wasn't set in non-interactive sessions (which is the case for scp).

My solution was:
```
ln -s zprofile /etc/zsh/zshenv
```

Presumably the solution with `bash` will be very similar.
Comment

PREVIOUS NEXT
Code Example
Shell :: nanostation m5 username password 
Shell :: linux reset date on file 
Shell :: verify dart on linux 
Shell :: msbuild is not recognized as the name of a cmdlet 
Shell :: run cmd in batch 
Shell :: tesract persian code 
Shell :: --force-confold 
Shell :: how to reset iis 
Shell :: add quotes to column and replace with comma 
Shell :: filmora remove watermark free 
Shell :: debian buster install twemproxy 
Shell :: remove last n characters from stdin 
Shell :: containing globalprotect, pre-dependency problem: globalprotect pre-depends on libqt5webkit5 libqt5webkit5 is not installed. 
Shell :: gem install therubyracer 
Shell :: remove the override manually with dpkg-statoverride 
Shell :: how to analyse a git repo 
Shell :: how to source scripts in same folder bash 
Shell :: how to stop brute force attack aws ec2 
Shell :: linux seq leading zero 
Shell :: helm set environment variables 
Shell :: count output linux 
Shell :: linux set global server name 
Shell :: masking 
Shell :: uninstall zabbix java gateway 
Shell :: linux server disable embeded screen 
Shell :: makefile link libraries 
Shell :: screenshot with annotation 
Shell :: source script path 
Shell :: command to make multiple nested directories 
Shell :: powershell auto clicker script 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =