addet terminal as a custom file

This commit is contained in:
pika 2025-04-02 18:06:12 +02:00
parent 929bab94a4
commit 2086e7e5d3
3 changed files with 56 additions and 0 deletions

3
functions.sh Normal file
View file

@ -0,0 +1,3 @@
get_ip() {
ip a | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | cut -d/ -f1 | head -n 1
}