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’?
‘m a new Unix system user. How do I use sudo command without a password on a Linux or Unix-like systems? I log in as tom@my-cloud-server-ip and disabled root login for ssh. After login, I need to run some commands as root user. I am the only sysadmin using my server. How do I run or execute sudo command without a password for a user named Tom under Debian/Ubuntu/CentOS Linux cloud server?
How do I shutdown remote Linux or UNIX system from MS-Windows system?
How do I install latest Firefox version 4.0 in Linux operating systems?
How do I restart Apache web server under Mac OS X operating systems?