Skip to content

Instantly share code, notes, and snippets.

Avatar

Hiroshi Sawai s-hiroshi

View GitHub Profile
View du
```bash
$ du -g -x -m -d 5 | awk '$1 >= 500{print}'
```
re. https://qiita.com/silva114jp/items/6e1e64e9aeaca62b1c04
View s3_copy
```
aws s3 cp file.txt s3://{{バケット名}}
```
View os-version
```
// 設定ファイル検索
$ ll /etc/*-release
// バージョン確認(例 redhat)
$ cat /etc/redhat-release
```
ref.
https://qiita.com/sion_cojp/items/04a2aa76a1021fe77079
View shell
```
$ mysqladmin ping -u {{user}} -p -h {{host}}
```
View html5
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
</body>
</html>
View ssh
ProxyCommand ssh -W %h:%p {{踏み台サーバーエイリアス}}
View table.scss
tr, td {
display: block;
width: 100%;
}