Finding all large files in the root filesystem Get link Facebook X Pinterest Email Other Apps July 02, 2018 find . -type d -size +100M find -type f -exec du -Sh {} + | sort -rh | head -n 5 Get link Facebook X Pinterest Email Other Apps Comments
Centos 7 Setup Webmin, Virtualmin, Usermin, CSF Firewall and Letsencrypt February 27, 2018 useradd weballround passwd weballround exit echo "weballround ALL=(ALL) ALL" >> /etc/sudoers exit clear vi /etc/ssh/sshd_config (Change #PermitRootLogin yes to PermitRootLogin no) #port 22 Remove # and change 22 to your desired port number service sshd restart yum install git -y git clone git://github.com/webmin/webmin.git /usr/local/webadmin ... Read more
How to install Openbox January 28, 2018 sudo apt install openbox obconf sudo apt install xcompmgr cairo-dock # create folder and file cd ~/.config mkdir openbox cd openbox # Edit file using any file editing tool like nano, vim, gedit etc nano autostart # Add following entries and save xcompmgr & cairo-dock & sudo apt-get install menu cp / var / lib / openbox / debian-menu.xml ~ / .config / openbox / debian-menu.xml cp / etc / xdg / openbox / menu.xml ~ / .config / openbox / menu.xml cp / etc / xdg / openbox / rc.xml ~ / .config / openbox / rc.xml openbox --reconfigure or if X11 cp / etc / X11 / openbox / menu.xml ~ / .config / openbox / menu.xml cp / etc / X11 / openbox / rc.xml ~ / .config / openbox / rc.xml Adding a panel/taskbar sudo apt-get install tint2 sudo apt-get install feh Read more
VI search and replace command examples May 06, 2019 VI search and replace command examples Let us say you would like to find a word called “foo” and replace with “bar”. First hit [Esc] key Type : (colon) followed by %s/foo/bar/ and hit [Enter] key. :%s/foo/bar/ Read more
Comments
Post a Comment