About 617,000 results
Open links in new tab
  1. 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 …

  2. What is the difference between "." "./" and "source"? [duplicate]

    Sep 27, 2016 · When the script is done, any changes that it made to the environment are discarded. . script The above sources the script. It is as if the commands had been typed in …

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

  4. Using export and source commands in bashrc file

    Jan 14, 2022 · I'm running bash in Ubuntu, and I'm trying to run a computational chemistry program called Gaussian 16. My colleague tells me that he is able to run Gaussian 16 by …

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

  6. "ls -l" doesn't show symlinks source paths

    Dec 3, 2018 · Before I reinstalled MacOS, ls -l showed symlinks with their source path. Now ls -l shows symlinks as regular files - without the source path. How can I make it show the source …

  7. command to determine ports of a device (like /dev/ttyUSB0)

    I have a question regarding the ports in Linux. If I connect my device via USB and want to check its port I can't do it using the command lsusb, which only specifies bus number and device …

  8. How can I update to a newer version of Git using apt-get?

    I know I can install from source to get the newest version, but I thought that it was a good idea to use the package manager as much as possible to keep everything standardized. So is it …

  9. bash - read only TMOUT variable - Unix & Linux Stack Exchange

    Aug 10, 2015 · You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation …

  10. PS4: debug bash script with $LINENO: execute vs source

    Feb 25, 2021 · 0 When you source a script, it acts as though the contents of the script are being entered by hand on the command line. Subsequent source ing of the script would give higher …