Categorie

[Linux] List all client IPs connected in the network

linux

 

 

 

 

 

 

# arp-scan --interface=eth0 --localnet

 

Change eth0 with the network interface that you are using!
 
 

Source

Cropping multiple images the same way (short tutorial) – Linux Academy Blog

linux

 

 

 

 

 

Sorgente: Cropping multiple images the same way (short tutorial) – Linux Academy Blog

[Linux] bash completion does not work properly

Linux

 

 

 

 

 

 

Purge bash completion:

# apt-get purge bash-completion

Delete (or move somewhere) this directory:

# mv /etc/bash_completion.d /somewhere

In files (if they exist):

~/.bashrc
/etc/bash_completion
/etc/bash.bashrc
/etc/profile

Comment lines like:

...
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then

Then reinstall bash-completion:

# apt-get install bash-completion

Try if it works, if not remove comment from ~/.bashrc on lines:

...
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
# if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
#     . /etc/bash_completion
# fi