Blog Archives

HOW TO SET FILE ASSOCIATIONS OF FILE WITH COMMAND LINE IN LINUX

QUES: Why would one choose to use command line for changing file associaiton……..? ANS: Several times you come across a situation when you have to setup file associations from the command line. Like sometimes, file managers just won’t work, other

Tagged with: , , ,
Posted in Linux

HOW TO CONFIGURE NETWORK CONNECTION FROM COMMAND LINE

STEP 1) ASSIGN IP ADDRESS AND GATEWAY Although, we have got a wonderful tool “NetworkManager” to manage our interface connection from GUI,but when we are using console then how to manage those interfaces and configuring them becomes a headache for

Tagged with: , , , ,
Posted in Linux

FIND YOUR PUBLIC IP FROM COMMAND LINE

Lots of times you need to determine your public IP address, if you are using Linux operating system to power your PC, you may use these one liners to find your IP –>Using wget [root@test ~]# wget -q -O –

Tagged with: , , , ,
Posted in Python script

I/O REDIRECTION

There are always three default files open, stdin (the keyboard), stdout (the screen), and stderr (error messages output to the screen). Redirection simply means capturing output from a file, command, program, script, or even code block within a script and

Tagged with: , , , ,
Posted in Linux

RPM MANAGEMENT TIPS

REBUILD THE RPM FROM SRPM ============================ The pre-requisite packages required are — [user@linux ~]$yum groupinstall “Development Tools”  [user@linux ~]$yum install yum-utils OR you can install only rpm-build.For CentOS most SRPMs targetted to be rebuilt on CentOS also need certain rpmbuild

Tagged with: , , , , ,
Posted in Linux
  • An error has occurred; the feed is probably down. Try again later.
  • An error has occurred; the feed is probably down. Try again later.
  • An error has occurred; the feed is probably down. Try again later.