In this practical we will learn,how to reset forgot root password in CentOS 6.x and Redhat 6.x. We are doing this practical in CentOS 6.x and it is also applicable to Red Hat 6.x.To reset the root password we will boot the linux system in Runlevel 1 also known as single user mode. Note: The […]
Tips And Tricks
How to add/install Ubuntu fonts in CentOS/Red Hat Linux
In this tutorial we will learn,how to add/install Ubuntu fonts in CentOS/Red Hat Linux.The Ubuntu fonts are very popular in typography.The Ubuntu fonts are funded by Canonical . Its wonderful design work and implementation has been taken care by Dalton Maag . To know about more Ubuntu Fonts, here is the link.In this practical we […]
convert space into new line using sed command
convert space into new line using sed command In this sed command trick we will learn how to convert space into new line.For more understanding we will take an example. In file called test we have written colour names with spaces.Now we will convert the space into new line. Syntax: sed ‘s/s/n/g’ file_name example is […]
safest method to remove softlink in linux
In this post we will learn safest method to remove softlink in linux. Softlink is also known as symbolic link which is special type of file provide the reference of file or directory with its absolute path.When you run the command ls -la filename-or-DirectoryName in output you may observe l letter as prefix in permission […]
set and unset line number in file with vi editor
In this tutorial we will learn, set and unset line number in file with vi editor. The same is applicable to vim editor also.(vim is advanced vi editor).vi editor is one of the famous and bydefault file editor in many linux distro. In vi editor you can use regex tricks. To set line number in […]
postgres database backup script using database user password inside
Postgresql is open source object-relational database system and it is also widely use likewise mysql database system. If you are familiar with mysql you must be aware that in single line you can pass the password of mysql user for eg. mysql -u root -p password. But in postgresql it is not like that. Solution: […]