fact, decompression is equivalent to the installation is complete.
[Email Protected]_7_135_centos bin]# pwd/usr/local/jdk1.7.0_80/bin
We can execute Java commands in the bin directory, such as:
[Email Protected]_7_135_centos bin]#./java-versionJava Version "1.7.0_80"Java (TM) SE Runtime Environment (build 1.7.0_80-b15)Java HotSpot (TM) 64-bit Server VM (build 24.80-b11, Mixed mode)
If you need to use Java commands in any location, you need to configure environmen
Bashrc, bash_profile, and/etc/profile
Recently, applications that can run in shell cannot be run by double-clicking the app. The reason is that the environment variable is faulty.
In Unix-like systems, there are generally three Bash configuration files:
~ /. Bashrc configuration file used by the current user
~ /. Bash_profile configuration
/etc/profile: This file sets the environment information for each user of the system, and the file is executed when the user logs on for the first time.and collect the shell settings from the configuration file of the/ETC/PROFILE.D directory./ETC/BASHRC: executes this file f
Platform: ubuntu12.04 Symptom: The shell terminal error prompt is as follows: . Bashrc: Row 1: Unexpected symbol '('syntax error nearby . Bashrc: Row 1 :'#~ /. Bashrc: executed by bash (1) for non-login shells .' Solution: Change the encoding format of the. bashrc file t
/etc/profile: This file sets the environment information for each user of the system, and the file is executed when the user logs on for the first time.and collect the shell settings from the configuration file of the/ETC/PROFILE.D directory.The English description is:#/etc/profile# System wide environment and startup programs, for login setup# Functions and alia
If you want to modify a configuration for all users who use bash and then open it later, you can modify the file, modify the file without restarting, and reopen a bash to take effect.~/.bash_profile: Each user can use this file to enter shell information dedicated to their own use, when the user logs on, the file is on
In Linux,. bash_profile,. bash_logout, and. bashrc files have special meanings for bash. When a user logs on or calls another bashshell, they provide a method to automatically establish the logon account environment and allow various commands to be executed when the user exits. I have never understood the relationship between. bash_profile and. bashrc. In today's Linux environment,. bash_profile,. bash_logo
In Linux,. bash_profile,. bash_logout, and. bashrc files have special meanings for bash. When a user logs on or calls another bashshell, they provide a method to automatically establish the logon account environment and allow various commands to be executed when the user exits. I have never understood the relationship between. bash_profile and. bashrc. In Linux,. bash_profile,. bash_logout, and.
/etc/profile: This file sets the environment information for each user of the system, and the file is executed the first time the user logs on. and collects the shell settings from the configuration file of the/ETC/PROFILE.D directory . English Description: #/etc/ profile# System wide environment and startup programs, for login setup# Functions and aliases go in/
/etc/profile: This file sets the environment information for each user of the system, and the file is executed when the user logs on for the first time.and collect the shell settings from the configuration file of the/ETC/PROFILE.D directory./ETC/BASHRC: executes this file f
/profile and/ETC/BASHRC, and the interactive and noninteractive, login and non-login shell concepts. programmers familiar with Linux should have experience setting environment variables in the ~/.profile file, the environment variables set in ~/.profile will only work for that one user, and if they are valid for all users, set/etc/profile. /etc/profile is the global version of ~/.profile. In fact, once an i
The memcached on the line is dead again. Still not getting the core file.For troubleshooting reasons, a colleague discovers that there is a suspicious problem with the script that launches memcached.Issue One: memcached working folder is not set, it is possible that core dump does not have working folder Write permissionThese scripts are started by crontab. The working folder is not set in the script. This is a non-root user's crontab. When you start memcached, the working folder is not the fold
/Etc/profile: This file sets the environment information for each user in the system. When the user logs on for the first time, this file is executed.And collect shell settings from the configuration file in the/etc/profile. d directory./Etc/bashrc: execute this file for eve
. Bash_profile and. bashrc and. the concept of profile differentiation bashshelllinux configures the environment variables related files in Linux systems mainly include the following files, which are easy to mix. here, the distinction is simple:/etc/profile: this file sets the environment information for each user in the system when the user first .... bash_profile and.
Ubuntu Linux System environment variable configuration file:/etc/profile: The first file that is used when the operating system customizes the user environment at logon, which sets the environment information for each user of the system, which is executed when the user logs on for the first time./etc/environment: The second file used by the operating system at lo
Before the installation of QT-4.7.2, due to the habit of compiling source files in the command line, I searched online on the qt environment variable configuration method, the configuration is very simple, add the following statements to the/etc/profile file:
Export qtdir =/Opt/qtsdk-2010.05/QTThis path is configured Based on the installation location.Export LD_LIBRARY_PATH = $ LD_LIBRARY_PATH: $ qtdir/libExport Path = $ path: $ qtdir/bin
Close the
/Etc/profile: This file sets the environment information for each user in the system. when the user logs on for the first time, this file is executed. and from/etc/profile. the configuration file in the d directory collects shell settings. /etc/bashrc: execute this file for
. Bash_profile and. what is the difference between bashrc and/etc/profile: This file sets the environment information for each user in the system. When the user logs on for the first time, this file is executed. and from/etc/profile. the configuration file in the d directory Collects shell settings. /etc/
+ ' Dirdiff ' alias grep= ' grep--color=auto ' br> alias fgrep= ' Fgrep--color=auto ' alias egrep= ' egrep--color=auto ' alias rm= ' Rm-i ' alias mv= ' Mv-i ' Al IAS cp= ' cp-i ' alias sco= ' SVN co ' alias sci= ' svn ci-m ' alias sup= ' svn up ' alias st= ' svn St ' Alias kg= ' qpkg info ' alias aconf= ' pushd.; Cd/usr/local/apache2/conf/include ' alias alog= ' pushd.; cd/usr/local/apach E2/logs ' alias abin= ' pushd.; Cd/usr/local/apache2/bin ' alias bk= ' popd ' alias his= ' h
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.