Skip to content

linuxmafia.pl Posts

Diff – show only difference

diff –changed-group-format=”%>” –unchanged-group-format=”” file1.txt file2.txt

Comments closed

CentOS remove bonding

$ ifconfig bond0 down $ echo “-eth0” > /sys/class/net/bond0/bonding/slaves $ echo “-eth1” > /sys/class/net/bond0/bonding/slaves $ echo “-bond0” > /sys/class/net/bonding_masters $ rmmod bonding $ systemctl restart…

Comments closed

macOS: hide / show desktop icon

Hide: defaults write com.apple.finder CreateDesktop -bool false; killall Finder Show: defaults write com.apple.finder CreateDesktop -bool true; killall Finder

Comments closed

RPM Error

Could not determine what version of Red Hat Linux you are running. If you get this error, try running rpm –rebuilddb Justo do: rm -fv…

Comments closed