≡ Menu

CentOS

GCC: Linux gnu/stubs-32.h: No such file or directory

I have Debian / Ubuntu Linux. I need to compile software written in C. The gcc throwing an error that read as follows:

gnu/stubs-32.h: No such file or directory compilation terminated. make: *** [foo.o] Error 1

How do I fix this problem under Debian or Ubuntu Linux 64 bit system and compile apps using gcc compiler?
[click to continue…]

Sysadmin because even developers need heroes!!!

Linux / Unix Find Command: Avoid Permission Denied Messages

When I type find . -type d -name "foo" command I get Permission denied error messages. How do I exclude all “permission denied: messages from the find command under Linux or Unix like operating systems?
[click to continue…]

HowTo: Use pwd Command In Linux / UNIX

How do I use the pwd command in Linux or Unix like operating systems? How can I use pwd command in UNIX or Linux shell scripts for automation purpose?
[click to continue…]

Linux: See Bandwidth Usage Per Process With Nethogs Tool

I have Red Hat Enterprise Linux 6.x server. How do I find out and groups network bandwidth usage by process under Linux operating systems? How do I find out what programs are using network bandwidth under Linux operating systems? How can I see bandwidth usage per PID, command, and user on a Linux operating systems?
[click to continue…]

HowTo: Firefox Disable Default PDF Viewer / Plugin

I recently updated my Mozilla Firefox. Firefox now includes a built-in PDF viewer that allows me to see PDF files found on the web without a plugin. The built-in PDF viewer is enabled by default. However, I found that this pdf viewer is not working properly with various web-sites, and it works slowly. How do disable the built-in PDF viewer so that I can use the Adobe PDF viewer or other PDF viewer that is shipped with my operating systems?
[click to continue…]

Vi / Vim: Save And Quit The Editor Command

I am a new vi (vim) text editor user. How do I quit the vi editor and save my changes under Linux or Unix like operating systems?
[click to continue…]

Linux/Unix: Cat Command Display Line Numbers

How do I use the cat command to display the line numbers for a file called myapp.c under Linux or Unix like operating systems?
[click to continue…]

Vi / Vim: Quit Without Saving Command

I am a new vi / vim text editor user. How can I quit the vi / vim text editor without saving my changes to a file under Linux / Unix like operating systems?
[click to continue…]

Squid Proxy Server Change Outgoing IP Address

I have Squid caching proxy server deployed on Rackspace based server in UK. This server has four IP address. I would like to change outgoing IP addresses from default 1.2.3.1 to 1.2.3.4. How do I change proxy server outgoing IP address under Linux or Unix operating systems?
[click to continue…]

What Is SELinux?

What is SELinux? Why should I use SELInux on my CentOS or Red Hat Enterprise Linux server running on IBM hardware?
[click to continue…]