From a35d7da97579e4221336f2da3575496df9d6d5e5 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 18 May 2023 13:25:21 +0200 Subject: [PATCH] \ --- bash/alias/chmod.sh | 6 ++++-- bash/alias/chown.sh | 6 ++++-- bash/alias/ps.sh | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/bash/alias/chmod.sh b/bash/alias/chmod.sh index ee69091..4df1df3 100644 --- a/bash/alias/chmod.sh +++ b/bash/alias/chmod.sh @@ -1,9 +1,11 @@ # change mode as directory alias cmd="\ -chmod \"755\" \ +chmod \ +\"755\" \ " # change mode as file alias cmf="\ -chmod \"644\" \ +chmod \ +\"644\" \ " diff --git a/bash/alias/chown.sh b/bash/alias/chown.sh index 9b33024..5a51942 100644 --- a/bash/alias/chown.sh +++ b/bash/alias/chown.sh @@ -1,9 +1,11 @@ # change owner as root alias cor="\ -chown \"0:0\" \ +chown \ +\"0:0\" \ " # change owner as user alias cou="\ -chown \"1000:1000\" \ +chown \ +\"1000:1000\" \ " diff --git a/bash/alias/ps.sh b/bash/alias/ps.sh index 093944c..0e643ae 100644 --- a/bash/alias/ps.sh +++ b/bash/alias/ps.sh @@ -1,5 +1,7 @@ # look for a string in processes names alias pg="\ -ps -A \ -| grep \ +ps \ +-A \ +| \ +grep \ "