Terminal shows this
bash: /home/atlas/.bashrc: line 73: syntax error near unexpected token ['
bash: /home/atlas/.bashrc: line 73:if [ -x /usr/bin/dircolors ] ; then '
I've tried to fix it using
"cp /ect/skel/.bashrc ~/"
And I get this "cp: cannot stat `/ect/skel/.bashrc': No such file or directory"
I'm unsure of why this is doing this and how to fix it.
Is there a simple way to list all the command conflicts that have occurred in the system due to the bashrc update involving alias commands?
For example, someone writes alias ls=/path/to/user-generated/executable in bashrc. How does one find out that this is masking an actual command (ls). One way seems to be to run all the aliases before and after sourcing bashrc and diff the output.
i tried following command (nano ~/.bashrc) in order to include some path in .bashrc file in home directory but m not able to run any command and always getting following error
rag@rag-Satellite-C640:~$ nano ~/.bashrc
Command 'nano' is available in the following places
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment var