About 15 results
Open links in new tab
  1. -bash: ource: command not found - Unix & Linux Stack Exchange

    Dec 9, 2022 · 1 I found that in the this system's /etc/profile.d directory there where many (around 20) different scripts and one of them had a typo of ource. I fixed the typo (changed the string to source) …

  2. Error while trying to source a .zshrc file

    Apr 29, 2022 · You're missing / Your command source ~.zshrc tries to lookup the home directory for a user called .zshrc. The source command would presumably attempt to execute that user's home …

  3. bash script error: source: not found - Unix & Linux Stack Exchange

    I believe my script, when run on the server, is being called like this: sh myscript so even though my script starts with #!/bin/bash and echo $SHELL returns /bin/bash ...

  4. How do I apply the changes to the .zshrc file after editing it?

    Jul 28, 2019 · You could source the new file, which would work for some changes, possibly including updating the PATH variable (depending on other lines). However, sourcing it would simply run .zshrc …

  5. source command is not working inside a shell script

    Sep 24, 2021 · You might also want to mention that source is a bash thing, not portable. If sh isn't bash on the OP's system, source foo.sh won't work and they should use . foo.sh. I know you've written it …

  6. NFS mount: Device or resource busy - Unix & Linux Stack Exchange

    Mar 1, 2017 · I referred the following link, the solution works. How to get over "device or resource busy"? The above solution works when you are manually deleting the file. But I have a python …

  7. Differences between /home, /root and /usr - Unix & Linux Stack …

    I've found out this topic : What is the difference between /opt and /usr/local? And this link : http://www.pathname.com/fhs/pub/fhs-2.3.html To help me understand the ...

  8. What is the difference between /opt and /usr/local?

    While both are designed to contain files not belonging to the operating system, /opt and /usr/local are not intended to contain the same set of files. /usr/local is a place to install files built by the administrator, …

  9. " sudo: source: command not found" - Unix & Linux Stack Exchange

    May 9, 2015 · $ source /etc/environment $ sudo source /etc/environment [sudo] password for t: sudo: source: command not found It seems that a different shell than bash is run to execute source …

  10. How to get over "device or resource busy"?

    I tried to rm -rf a folder, and got "device or resource busy". In Windows, I would have used LockHunter to resolve this. What's the linux equivalent? (Please give as answer a simple "unlock this" ...