From 3b758480db34c2096b589a1afa65189690bb84d3 Mon Sep 17 00:00:00 2001 From: Yulia Kostrikova Date: Thu, 17 Jan 2019 21:45:56 +0200 Subject: [PATCH] Linux commands --- .gitignore | 1 + linux.md | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index bb94ff69d..810939e66 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ _site .jekyll-metadata /node_modules /vendor +.idea/ \ No newline at end of file diff --git a/linux.md b/linux.md index 3bb925b7c..a6a947f51 100644 --- a/linux.md +++ b/linux.md @@ -11,3 +11,6 @@ title: Linux sudo visudo username ALL=(ALL) NOPASSWD:/sbin/restart whatever + +### Answer yes in a bash script + yes | /your/command \ No newline at end of file