Merge pull request #994 from yuklia/docs/linux

Linux commands
This commit is contained in:
Rico Sta. Cruz 2019-03-24 07:43:51 +08:00 committed by GitHub
commit fa039e5b65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ _site
.jekyll-metadata .jekyll-metadata
/node_modules /node_modules
/vendor /vendor
.idea/

View File

@ -11,3 +11,9 @@ title: Linux
sudo visudo sudo visudo
username ALL=(ALL) NOPASSWD:/sbin/restart whatever username ALL=(ALL) NOPASSWD:/sbin/restart whatever
### Answer yes in a bash script
```bash
yes | /your/command
```