Summary of Linux commands and configurations for personal use

Source: Internet
Author: User
Linux command and configuration summary 1. ls displays the file directory, ll list to view files 2. cd switch directory cd/switch to the root directory cdoracle switch to the oracle directory under the root directory cdoracle/admin/switch to the oracle directory under the root directory...
Linux command and configuration summary 1. ls displays the file directory, ll list to view files 2. switch the cd directory cd/switch to the root directory cd oracle switch to the oracle directory under the root directory cd oracle/admin/switch to the admin directory under the oracle directory under the root directory cd .. back to the top-level directory www.2cto.com cd .. /oracle/admin/directly switch from other directories to the admin directory under the oracle directory under the root directory 3. decompress the zip package unzip aa.zip 4 and authorize a single file chmod u + x startup. sh authorization directory file chmod u + x bin /*. * 5. ps-ef | grep java query process number 6, kill-9 process number (end process) 7 ,. /startup. sh start tomcat Server 8, tail-f. /catalina. out view log 9, Oracle Database startup, oracle User Login: Listener start lsnrctl start database start sqlplus/nologconnect sys/as sysdbastartup www.2cto.com IP and domain name configuration 1, enter the Linux window, configure the ip address and host name to ensure that the configured virtual machine ip address, gateway, and local machine are in the same ip address segment: modify the ip address, File name: /etc/sysconfig/network-scripts/ifcfg-eth0 2. modify gateway and host name, File name:/etc/sysconfig/network 3. modify the/etc/hosts file www.2cto.com
4. restart the NIC and activate the network: Enter the/etc/sysconfig/directory and run the service network restart command.
Restart the system: shutdown-r now

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.