See how many bits Linux is
File/sbin/init or File/bin/ls
View Memory
[email protected] insurance]$ Top
View All Processes
For i in ' pgrep java ';d o echo-e "$i ' ll/proc/$i | grep cwd ' \ n ' netstat-ntpl| grep $i ' ";d One
Assigning permissions to WEBLOGIC10 user rights
View the group where the user weblogic10
[email protected] base_domain]$ groups WEBLOGIC10
Weblogic10:bea
[Email protected] base_domain]# chown-r weblogic10:bea/u01
[Email protected] base_domain]# chown-r weblogic10:bea/u02
[Email protected] base_domain]# chown-r weblogic10:bea/u03
Find Java files
[[email protected] insurance]$ Find/-name java
View the processes that are started
[Email protected] insurance]$ Ps-ef|grep WebLogic
View processes based on ports
[Email protected] ~]$ Netstat-tnpl|grep 2012
(Not all processes could is identified, non-owned process info
Would is not being shown, you would has to be the root to see it all.)
TCP 0 0:: ffff:127.0.0.1:2012:::* LISTEN 6728/java
TCP 0 0:: ffff:192.168.220.51:2012:::* LISTEN 6728/java
[Email protected] ~]$ kill-9 6728
Delete the log and start the program
[Email protected] insurance]$ rm-f nohup.out
[Email protected] insurance]$ sh startweblogic.sh
Unzip zip
[Email protected] tianruicai]$ Unzip Apache-jmeter-2.13.zip
Compress files
TAR-ZCVF Airsale-_20170720-_bug.tar Airsale
Unzip the file
TAR-ZXVF Airsale_2017_07_04.tar
tgz File Decompression
TAR-ZXVF weblogic12fix+jdk1.8.tgz
Environment variable Configuration
You need to configure the JDK yourself to place the JDK in the/u01/jdk1.8.0_144
Vim ~/.bash_profile
Path=/u01/jdk1.8.0_144/bin: $PATH: $HOME/bin
Export PATH
Login in effect again
Save command: Force save file, Exit VI
Press the ESC key to jump out of command mode: wq!
Copy a folder to another folder
[Email protected] u02]$ cp-r weblogic12c-new//u01
Jira command
Netstat-tnpl|grep 8080 View process kill process also OK
Find/-name Jira Locate the installation directory for Jira
Jira/jira/bin into the bin directory
SH shutdown.sh kill Process
SH startup.sh start Jira
Linux Common commands