sudo visudo # User privilege specification root ALL=(ALL:ALL) ALL test ALL=(ALL:ALL) ALL # Members of the admin group may gain root privileges
Linux Mint laptop WiFi loosing signal
https://unix.stackexchange.com/questions/269661/how-to-turn-off-wireless-power-management-permanently#315400
VirtualBox lan settings
CentOS (RHEL), NginX and SELinux settings
To be able to use NginX without disabling SElinux use next
Installing Webin on Linux Servers RHEL
Add this code to the therminal (echo "[Webmin] name=Webmin Distribution Neutral baseurl=http://download.webmin.com/download/yum enabled=1 gpgcheck=1 gpgkey=http://www.webmin.com/jcameron-key.asc"...
First thing to do after installing Linux Server RHEL
To add a user to the Linux use this command useradd -g wheel new_username -g means to add a new user to the 'wheel' group which is the sudo-root group, more info can be found here:...
Linux fsck command
The system utility fsck (file system consistency check) is a tool for checking the consistency of a file system in Unix and Unix-like operating systems, such as Linux, macOS, and FreeBSD. fsck -y...
Clone disk/partition to external HDD/SSD with ‘dd’ command in Linux
To clone HDD/partition with dd command, the destination HDD/partition must be equal or larger in size than the source. sudo dd if=/dev/sda5 of=/dev/sdb2 conv=sync,noerror bs=64K status=progress...
Show user ID in the WordPress dashboard
Put this code to the functions.php /* * Adding the column */ function rd_user_id_column( $columns ) { $columns['user_id'] = 'ID'; return $columns; } add_filter('manage_users_columns',...
Update Packages that will not upgrade Linux
sudo apt-get update sudo apt-get dist-upgrade