Update linux.md

This commit is contained in:
Rico Sta. Cruz 2019-03-24 07:43:41 +08:00 committed by GitHub
parent 3b758480db
commit a18063bb9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -13,4 +13,7 @@ title: Linux
username ALL=(ALL) NOPASSWD:/sbin/restart whatever username ALL=(ALL) NOPASSWD:/sbin/restart whatever
### Answer yes in a bash script ### Answer yes in a bash script
yes | /your/command
```bash
yes | /your/command
```