How to identify and kill zombie process in Linux ?

If you already knows whats zombie process and wanted to identify all zombie process’s in you system, you can directly proceed ahead but if you don’t know, we may suggest you first read the article, “What is Zombie process and How to create zombie process in Linux ?” Lets consider, now you have created the … Read more

Grep and replace string from source code using command in Linux

Recently when we migrated our old code in Android to API level 30 i.e. androidx , lots of headers files got changed, whereas all the other backword compatible code remained same. So to accomplish this migration, we have to rename the header imports to androidx imports, but changing all those thousands of source files manually … Read more

How to disable terminal alert / tab sound in Ubuntu ?

terminal sound

If you are used to work on Ubuntu terminal extensively and when you type initial letters of some commands on terminal and press TAB to type the rest of command, when there are more similar commands present, you will hear the TAB press sound ( i.e. terminal alert sound ) on Ubuntu. This may be … Read more

How to check CentOS version ?

Recently we changed our hosting server to CentOS VPS, where we got the access to root user, and wanted to install some packages, for the same it was necessary to know the version of CentOS. We tried below command to know the version of CentOS. ( CentOS seems related to fedora, since we have used … Read more

Install SQLite3 on Ubuntu

If you are working on creating database for some project, higher chances are that you will end up creating database using some automated tool or install scripts, but sometimes you need to create database manually. This posts helps you with installation of SQLite database. For other information regarding databases’s refer to “Database, Backup, Restore” page. … Read more

How to recover data / folder deleted with rm -rf

Today Accidentally I deleted one of my folder in ubuntu which has contained important files, but I wanted to copy those to another machine by tarring it, while there was another archive / tar with same name, I wanted to delete that .tar but deleted folder resulting deleting very important files. To recover those files … Read more

FTP Clients for using on Ubuntu

For testing FTP server connection from Ubuntu command line, we can use following command, $ ftp my_ftp_server_IPConnected to my_ftp_server_IP220———- Welcome to Pure-FTPd [privsep] [TLS] ———-220-You are user number 4 of 50 allowed.220-Local time is now 14:37. Server port: 21.220-This is a private system – No anonymous login220-IPv6 connections are also welcome on this server.220 You … Read more

How to disable and / or enable ICMP ping from Linux host ?

To disable the ICMP ping from certain linux host, lets say which has IP of use below command, Type below command on the console of linux PC on which you are trying to enable / disable the ping. $ sudo iptables -A INPUT -p icmp –icmp-type any -j REJECT $ sudo iptables -A OUTPUT … Read more