Skip to content

Commit

Permalink
aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
JAlcocerT committed Apr 7, 2024
1 parent 08a4fdd commit 6144c63
Showing 1 changed file with 32 additions and 33 deletions.
65 changes: 32 additions & 33 deletions content/docs/Debian/useful_tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,38 +411,6 @@ iperf3 -c 192.168.3.200
```


{{% details title=" How to Create Custom Aliases" closed="true" %}}


Lets edit this file:


```sh
nano ~/.bash_aliases
```

Add this line to know your public ip address by typing myip on the terminal:


```sh
alias myip='curl ipinfo.io/ip' #public ip address
```

Use this command to be able to use the new alias already in the current session


```sh
source ~/.bashrc
```

<!-- Personally, I have a file saved with all my alias ready right here, which i simply have to download and my favourite alias will be set in any server with this simple command:
```
tbd
``` -->

{{% /details %}}


{{% details title="How to Install & use TMUX" closed="true" %}}
Expand Down Expand Up @@ -607,4 +575,35 @@ flatpak run com.rustdesk.RustDesk
{{% /details %}}

* Remmina, Vinagre, TigerVNC
* Guacamole with Docker
* Guacamole with Docker



{{% details title=" How to Create Custom Aliases" closed="true" %}}


Lets edit this file:


```sh
nano ~/.bash_aliases
```

Add this line to know your public ip address by typing myip on the terminal:


```sh
alias myip='curl ipinfo.io/ip' #public ip address
```

Use this command to be able to use the new alias already in the current session


```sh
source ~/.bashrc
```

<!-- Personally, I have a file saved with all my alias ready right here, which i simply have to download and my favourite alias will be set in any server with this simple command:
-->

{{% /details %}}

0 comments on commit 6144c63

Please sign in to comment.