am trying to add entry to /etc/hosts file using ‘sudo echo '192.168.1.254 router' >> /etc/hosts
‘ but getting an error that read as, -bash: /etc/hosts: Permission denied
. How do I insert or append text to a file when running sudo command on Linux or Unix-like system?
I think Google has its own dns caching system. I am getting the same old dns entry in my Google Chrome browser on both Linux and Apple OS X. How do I flush or clear the DNS cache in Google Chrome browser without compete shutting down?
am a new Linux user. How do I run two commands from a bash shell? I need to run apt-get update and apt-get -y upgrade without typing sudo command two times from a command line on Ubuntu Linux AWS cloud server. How can I two commands in sudo ‘command1 && command2’?
replaced Windows 10 with Ubuntu Linux 16.04 LTS. So, I am a new Ubuntu Linux user. How do I become superuser on Ubuntu Linux? How do I login as root on Ubuntu? Continue reading “How do I become superuser on Ubuntu Linux using su/sudo?”
s there is an easy way to audit and lock down (secure) Apple OS X 10.11 (El Capitan) unix operating system?
here are certain files in Ubuntu Linux (or Unix-like systems) that only root user access or edit. How can I edit and/or open files that requires admin (root) access on a Ubuntu Linux?
‘m setting up a new FreeBSD server. I do not want to use a default root user who has full system access. How can I setup and grant sudo privileges to users on a FreeBSD VPS or server?