The root account is the most privileged account on a Unix system. The root account has no security restrictions imposed upon it (Hmm…there are some exceptions though). When you are logged in as super user, you don’t have to face any questions. Therefore it is easy, with a mistyped command, to wipe out crucial system files or even the whole system all of a sudden. I have had situations where I forgot my root password and is unable to do any administrative level tasks. Due to increase in different type of cloud services, users are forced to manage large number of passwords and it is very common to forget some of them which may include the system’s own root password. What can we do in those situations? Either we recover or just reset the previous root password with a new one. The former is Read More »
Category: HACKS & TRICKS
Some useful tips while working under GNU Bash – part 2
[1] Efficient use of command line history using !! and !
Double exclamation i.e, ‘!!’ represents the last run command on the bash. Here is an example :
$ uname -r
3.2.0-55-generic
$ !!
uname -r
3.2.0-55-generic
Now, let’s come to single exclamation i.e, ‘!’ . Unlike ‘!!’, through single exclamation ‘!’, we can access any previously run command that exists in
Read More »
Crazy text mode browsing from bash through elinks
All of us are quite familiar with web browsers like mozilla firefox, google chromium etc. They are unavoidable in this fast moving internet world. But have you ever thought of browsing the internet via a text mode browser? It sounds a bit crazy, right? GNU/Linux is a platform for that too which is made possible by elinks, an opensource text web browser.
It fast access a busy server. Consider a situation where you tried to search some content or website, but at the same time another user also tries Read More »