≡ Menu

cat command

Linux Command: List All Users In The System

I‘m a new Linux sys admin and I’m unable to find the command to list all users on my RHEL server. What is the command to list users under Linux operating systems?
[click to continue…]

Sysadmin because even developers need heroes!!!

Linux / Unix: Cat Command Examples

cat command

I am a new Linux and Unix system user. How do I use cat command on Linux or Unix-like operating systems? Can you provide basic examples and syntax usage for cat command?
[click to continue…]

Reload Squid Proxy Server Without Restarting Squid Daemon

I made some changes to the /etc/squid/squid.conf file and issued the command /sbin/service squid restart. However, this command takes way too much time to restart the server. How do I tell squid to just reread the config file and apply new changes under Linux operating systems?
[click to continue…]

Linux: Find Out Open Files [ Descriptors ] Command

How do I find out that how many files are open and how many allowed in Linux server operating systems?
[click to continue…]

HowTo: Find Out RHEL 6 / CentOS 6 Kernel Version

How do I find out my RHEL (Red Hat Enterprise Linux) 6 Linux kernel version number running on HP server?
[click to continue…]

HowTo: Upgrade Red Hat Enterprise Linux 6 to to v6.1

RHEL version 6.1 has been released with new features and improvements. How do I upgrade my HP server running RHEL v6.0 to v6.1 using RHN?
[click to continue…]

HowTo: Convert Between Unix and Windows text files

How can I convert newline [ line break or end-of-line (EOL) character ] between Unix and Windows text files?
[click to continue…]

Linux: phpinfo() system’s timezone error date.timezone

I‘m getting the following errors in my log file whenever I use phpinfo() function:

[10-Jan-2011 18:39:08] PHP Warning: phpinfo(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘America/Chicago’ for ‘CST/-6.0/no DST’ instead in /home/servers/http/dev/testpc.php on line 2

How do I fix this problem under UNIX / Linux php running Apache or lighttpd web server?
[click to continue…]

Explains: Linux linux-gate.so.1 Library / Dynamic Shared Object [ vdso ]

I‘m using the ldd command to get information about /usr/local/nginx/sbin/nginx binary and I see linux-gate.so.1 library. However, I’m unable to find out this file anywhere on the system? What is linux-gate.so.1 and how do I copy this file?
[click to continue…]

Ubuntu Linux: Create a Text File Using cat Command

How can I create a text file from the command line on Ubuntu Linux? How do I create an empty file from the command line under Ubuntu operating systems?
[click to continue…]