shell
“not a valid identifier” when I do “export $PATH”
When I run export $PATH in bash, I get the error not a valid identifier. Why?
What happens if you edit a script during execution?
I have a general question, which might be a result of misunderstanding of how processes are handled in Linux.
Starting with bash: -lt and -gt arguments
I’m starting with bash and I found the following:
When do you need ‘nohup’ if you’re already forking using ‘&’?
First this question is related but definitely not the same as this very nice question:
Is there an easy way to programmatically extract IP address?
NIC device handles
Avoiding “BASH-isms” in shell scripts
Does there exist a tool similar to Perl::Critic that will inspect your shell scripts and point out flaws, portability issues, uses of non-standard programs without fallbacks, depreciated program uses, etc?
Understanding directory symlinks traversals and the parent directory
Let’s say you have directories /dir1 and /dir2/linked, where the latter is a symlink to the former.
What is the difference in usage between shell variables and environment variables?
I actually did not know there are two different types of variables I can access from the command line. All I knew is, that I can declare variables like:
Where is the fork() on the fork bomb :(){ :|: & };:?
Warning: Running this command in most shells will result in a broken system that will need a forced shutdown to fix