About 587,000 results
Open links in new tab
  1. What is the difference between '.' and 'source' in shells?

    2 source is there for readability and self-documentation, . exists because it is quick to type. The commands are identical. Perl has long and short versions of many of its control variables for …

  2. What is the difference between ~/.profile and ~/.bash_profile?

    Feb 27, 2019 · The original sh sourced .profile on startup. bash will try to source .bash_profile first, but if that doesn't exist, it will source .profile. Note that if bash is started as sh (e.g. /bin/sh …

  3. Source vs . why different behaviour? - Unix & Linux Stack Exchange

    source is a shell keyword that is supposed to be used like this: source file where file contains valid shell commands. These shell commands will be executed in the current shell as if typed from …

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

    Using source on dash does not work, only . works. My test with source with bash in POSIX mode worked, though maybe this is due to my version or compilation flags.

  5. networking - Ephemeral port : What is it and what does it do?

    Aug 18, 2013 · I suddenly came across the term "ephemeral port" in a Linux article that I was reading, but the author did not mention what it is. What is an ephemeral port in UNIX?

  6. Is there a way to download pure Unix?

    Jan 27, 2019 · I'm just asking out of curiosity, is there a way to obtain a 'pure' so to say copy of Unix? So, not OS X or Linux with Unix in the background, but simply Unix..

  7. 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 …

  8. How to determine the path to a sourced tcsh or bash shell script …

    It looks like BASH_SOURCE is actually an array, so it's better to use its last element, via "${BASH_SOURCE[-1]}", as @gkb0986 explains here and as I show in my brand new answer …

  9. How can I make a script in /etc/init.d start at boot?

    Apr 20, 2017 · I think I read something a while back about this, but I can't remember how it's done. Essentially, I have a service in /etc/init.d which I'd like to start automatically at boot time. …

  10. What is the purpose of .bashrc and how does it work?

    May 13, 2014 · My comment is just a stronger statement of Ilmari Karonen's 2014 comment. It is factually incorrect to say ".bashrc runs on every interactive shell launch". A login shell is an …