Hi,
I was wondering whether there is an equivalent to the #include (used in c programs to import file content) in bash? If an equivalent doesn't exist then anyone know a workaround?
I have various files with defined paths and commands which I want to hack onto my .bashrc file at different times. I know I can just copy the text over to the .bashrc every time I need it, but it seems like a really dumb way to go about it.
Thanks in advance.
I was wondering whether there is an equivalent to the #include (used in c programs to import file content) in bash? If an equivalent doesn't exist then anyone know a workaround?
I have various files with defined paths and commands which I want to hack onto my .bashrc file at different times. I know I can just copy the text over to the .bashrc every time I need it, but it seems like a really dumb way to go about it.
Thanks in advance.