This commit is contained in:
Shihaam Abdul Rahman 2023-01-17 15:30:34 +05:00
parent c124a99266
commit 71537f9de5
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

2
bashrc
View File

@ -37,7 +37,7 @@ math(){ echo $1 | bc;}
checkip(){ dig $1 +short;}
# search for term and edit first file with that specific text
edit(){ nano $(grep $1 * -R | awk '{print $1}'|cut -f1 -d ':' | head -n1);}
root(){su -c "$@";}
root(){ su -c "$@";}
###############################################################################