SQLite

環境
Windows10 64bit
SQLite 3.37
書式
.databases
現在接続しているデータベース名とそのデータベースが保存されているファイル名を取得します

使用 ...

Linux

インストール
#sudo yum install httpd

apacheの起動
#service httpd start

自動起動設定
#chkconfig httpd on ...

Linux

1.KDUMPが無効
# systemctl stop kdump
# systemctl disable kdump
# reboot

2.SELinuxが無効
# cp/etc/seli ...

Source

redirect.sh

#!/bin/bash
if
then
echo -e “Usage: $0 SourceIP DestinationIP”
exit 1 ...

Source

install.sh

yum groupinstall “Development Tools” “Development Libraries”

JavaScript

1.test.json

2.JSコード
<script>
$(function() {
$.getJSON(“test.json” , function

Source

PSVss.sh

# Specify the root folder here for your VSS database
# You can modify the locatiosn for the archiv ...

Source

機能:Ubuntuのインストール後、このスクリプトで一般的なツールをインストールする。

ubuntu.sh

#!/bin/bash
# Info : install tools for ubuntu

Source

機能:SSHを実行してサーバーのパスワードをバッチ編集する
patchpassword.sh
#!/bin/bash

exec 3

Source

機能:
md5値をバッチ作成して暗号化で使う。

md5create.sh
#!/bin/sh

for ((i=1;i

Source

ipchange.sh

@SETLOCAL
@ECHO OFF
REM choose ip address
echo 設けるIPアドレスの名所を選んでください 
:choice
ec ...

Source

vim/etc/yum.repos.d/nginx.repo

name=nginx repo
baseurl=
gpgcheck=0
enabled=1

Source

コマンド:
set path=d:
%path%
for/R %i in (*) do echo %i

shellscript

ファイルftpdl.sh

サンプルコード

cd/home/oracle/ftpdatashort_ymd=$(date +%y%m%d)file="10628110.20""$short_ymd"".zip"ftp ...

Source

save.sh
#!/bin/bash
#

#Nginx Log の保存Path
logs_path=”/data1/logs/”

mkdir -p ${logs ...

Source

コマンド:
#!/bin/sh
if
then
echo “Content-type: text/html”
echo
echo “Dump a da ...

Source

コマンド:
find ./-regex “\..+\.svn$” -type d | xargs rm -rf
if ; then
echo “remove .svn dir ...

Source

tar -zcvf/tmp/etc.tar.gz/etc