Earlier in the Linux open a terminal, he always appear bash:/opt/ros/indig/setup. Bash: No to the file or directory. This problem is related to the bash that needs to be loaded every time the terminal is opened.
/etc/bashrc: This file sets up environment information for each user of the system and is executed when the user first logs in and collects shell Settings from the configuration file in the /etc/profile.d directory. This file is read when the bash shell is opened.
~/.bash_profile: Each user can use this file to enter specific shell information for his or her own use, and this file is executed only once when the user logs in! By default, it sets some environment variables and executes the user’s.bashrc file.
~/.bashrc: This file contains bash information specific to your bash shell, which is read when you log in and every time you open a new shell.
/.bash_logout: This file is executed every time you exit the system (exit the bash shell)
I turn to open the file, the last in ~ /. Bashrc found the last line of this file: the source/opt/ros/indig/setup. Bash the bash file does not exist in the file system, so I deleted it. After that, it works fine when you start the terminal again.
P.S. We can get through
/etc/bashrc: This file sets up environment information for each user of the system and is executed when the user first logs in and collects shell Settings from the configuration file in the /etc/profile.d directory. This file is read when the bash shell is opened.
~/.bash_profile: Each user can use this file to enter specific shell information for his or her own use, and this file is executed only once when the user logs in! By default, it sets some environment variables and executes the user’s.bashrc file.
~/.bashrc: This file contains bash information specific to your bash shell, which is read when you log in and every time you open a new shell.
/.bash_logout: This file is executed every time you exit the system (exit the bash shell)
I turn to open the file, the last in ~ /. Bashrc found the last line of this file: the source/opt/ros/indig/setup. Bash the bash file does not exist in the file system, so I deleted it. After that, it works fine when you start the terminal again.
P.S. We can get through
echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
Command to add a path to the.bashrc file.
Then through
source ~/.bashrc
Order to put it into effect.
Read More:
- bash: /opt/ros/kinetic/ setup.bash : there is no file or directory
- When installing ROS: bash / opt / ROS / kinetic/ setup.bash : there is no file or directory
- Linux has no way to solve bash. / that file or directory
- Solve syntax error: unexpected end of file or /bin/bash^m: bad interpeneter: no match file or directory
- Ubuntu 64 prompts bash: no such file or directory file exists
- source, ~/.bashrc, ~/.bash_ Profile details
- Solve the problem of “bash. / don’t have that file or directory” in Ubuntu 64 bit
- Bash modifies the file names in the specified folder through MAC terminal (batch modification)
- The bash file written by windows runs in Linux system error
- -bash: cannot create temp file for here-document: No space left on device
- 【linux】error: stdio.h: No such file or directory
- Compiling the pi_kernel source code appears: fatal error: openssl/opensslv.h: No such file or directory
- Cannot open include file: ‘io.h‘: No such file or directory
- standard_init_linux.go:178: exec user process caused “no such file or directory”
- Importerror of [docker] error: libGL.so .1: cannot open shared object file: No such file or directory
- #During OpenGL development, fatal error C1083: can’t open include file: “GL / glut. H”: no such file or directory
- ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
- Solution of header file StdAfx. H “no such file or directory” in Visual Studio
- When Python Django creates a database, can’t open file ‘ manage.py ‘: [Errno 2] No such file or directory
- [tools] vscode debug report G + +. Exe no such file or directory fatal error no input files