Home directory – Execute in source bash source or “. “ Current Directory “.” Information of Bash or others info bash Calculate days for my deletion date +%y%m%d -d “-10 days” Find if a file exists [ -f /etc/passwd ]
Cisco ASA 5505 Notes
Find out the concurrent connection and license limit show local-host connection Reboot reload
Magento Notes
Download https://magento.com/tech-resources/download Installation Documentation https://devdocs.magento.com/guides/v2.3/install-gde/prereq/prereq-overview.html Required LAMP http://devdocs.magento.com/guides/v2.2/install-gde/prereq/prereq-overview.html 1. Install Apache apt-get -y install apache2 2. Install MySQL sudo apt install -y mysql-server mysql-client Secure the installation sudo mysql_secure_installation 3. Install PHP 7.0 sudo apt-get -y update sudo add-apt-repository ppa:ondrej/php
SQL Server Notes
Insert records into an existing table from another table INSERT INTO MyTable (PriKey, Description) SELECT ForeignKey, Description FROM SomeView; To create a new table from values in another table, you can use SELECT INTO. For example: SELECT LastName, FirstName, Phone