Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.

learn more… | top users | synonyms (1)

53
votes
7answers
16k views

What is the Linux equivalent to C:\Program Files?

I understand that in Windows as well as Linux and Unix, a program|application|software can be installed in any directory. Also if packages are installed using the distribution's packaging system, ...
40
votes
9answers
59k views

Is CentOS exactly the same as RHEL?

I'm sure this question has been asked again and again elsewhere (I did not find anything specific to CentOS vs RHEL in SE), but I would still like to ask and confirm a few specific points. I am well ...
21
votes
3answers
1k views

How can I shutdown a RHEL server at 06:45 tomorrow morning?

I just received notification that our site has a power outage tomorrow morning. I am a Windows admin but I have to cover for our Linux admin who's not around until tomorrow evening. I need to ...
19
votes
3answers
15k views

Open a RPM on a Mac?

I am on a MacBook Pro running Apple Leopard (Mac OS X 10.5.8). I would like to unpackage a RPM and view the files contained within the wget-1.11.4-2.el5_4.1.src.rpm . I don't need to install the ...
18
votes
4answers
2k views

What makes CentOS “enterprisey” compared to “generic” distributions like Ubuntu?

What makes CentOS "enterprisey" compared to "generic" distributions like Ubuntu? When I say "enterprisey" I actually mean "better for server deployments". Just a general question, because I was ...
17
votes
2answers
11k views

Why SSH takes a long time to Connect

I have noticed that some Linux Servers in Network takes long time to connect using ssh. Situations: There are two situations I have faced: On some servers some times it takes a long time to ask ...
16
votes
3answers
7k views

Piping from grep to awk not working

I am trying to grep the ongoing tail of file log and get the nth word from a line. Example file: $ cat > test.txt <<EOL Beam goes blah John goes hey Beam goes what? John goes forget it Beam ...
15
votes
7answers
5k views

Is there a difference of stability between Linux distros?

I've using Debian since 2010 for some home purposes and it has been stable. Is Debian still a good option if I need a server for heavy network, cpu, disk and memory usage? Last month I listened to ...
14
votes
3answers
23k views

How can I increase open files limit for all processes?

I can use ulimit but I think that only affects my shell session. I want the limit increased for all processes. This is on Red Hat.
14
votes
3answers
9k views

how to run new software without updating GLIBC?

I installed Mathematica 9 on an old Red Hat Enterprise Linux AS release 4 system. After the installation, I tried to start Mathematica, but following message came out: ...
13
votes
4answers
7k views

How can I avoid “Run fsck manually” messages while allowing experimenting with system time changes?

I'm working with a system where we want to allow users to play around with the date and time if they want, and where reboots may happen arbitrarily. This is fine, except for one thing: if there's a ...
12
votes
1answer
2k views

Why does Red Hat Linux use such an old kernel?

Why does RHEL (and its derivatives) use such an old kernel? It uses 2.6.32-xxx, which seems old to me. How do they support newer hardware with that kernel? As far as I know these kind of distributions ...
12
votes
2answers
8k views

/dev/tcp listen instead of nc listen

With a netcat listener like: nc -l <port> < ~/.bashrc I can grab my .bashrc on a new machine (doesn't have nc or LDAP) with: cat < /dev/tcp/<ip>/<port> > ~/.bashrc My ...
12
votes
3answers
12k views

Does RHEL execute all cronjob files under /etc/cron.d/*?

This is a RedHat Enterprise Linux 5 system (RHEL). We manage this system using Cfengine. We have several cronjobs which are running twice as often as usual. I checked the cronjobs under /etc/cron.d/ ...
12
votes
1answer
10k views

Unable to delete file, even when running as root

I am in the process of migrating a machine from RHEL 4 to 5. Rather than actually do an upgrade we have created a new VM (both machines are in a cloud) and I am in the process of copying across data ...
11
votes
4answers
17k views

can we know the password for the other users if we have root access?

If a person has root access to a particular RHEL machine, will they be able to retrieve the password of the other users?
11
votes
4answers
3k views

What are the dangers of creating a normal user with UID < 500?

What are the dangers of creating a normal user with UID < 500? Assuming the UID's are not duplicates of existing UID's, what could go wrong? This is not something that I want to do, but something ...
10
votes
4answers
23k views

How to boot Linux to command-line mode instead of GUI?

I am using 32-bit Red Hat Linux in my VM. I want to boot it to command-line mode, not to GUI mode. I know that from there I can switch to GUI mode using startx command. How do I switch back to ...
10
votes
3answers
7k views

.bash_profile not sourced when running su

I have a user, say user1, which has modifications to its .bash_profile, one of them changing the PATH, e.g.: export PATH=/some/place:$PATH. This change works fine if I log on as user1 or do a su - ...
9
votes
2answers
3k views

( /etc/sysconfig/iptables ) “Manual customization of this file is not recommended.” Why?

Editing this file directly /etc/sysconfig/iptables can save me so much headaches so much time and so on... and yet on the very top of the file it says.. Manual customization of this file is not ...
9
votes
2answers
1k views

How to prevent fork bomb?

To prevent fork bomb I followed this http://www.linuxhowtos.org/Tips%20and%20Tricks/ulimit.htm ulimit -a reflects the new settings but when I run (as root in bash) :(){ :|:&};: the VM still goes ...
8
votes
4answers
3k views

Changing the timestamp of a symlink

I know how to change the timestamp of a regular file: touch -t 201301291810 myfile.txt I was not able to do the same with a symlink. Is it possible? Distro: RHEL 5.8
8
votes
2answers
686 views

Temporarily change time

I need to test aspects of my software that only happen at certain times of the day. Rather than waiting whole days (and getting here at 2:00 AM), I'd like to change the time. But I'd rather not ...
8
votes
2answers
13k views

Effect of entries in /etc/securetty

By default on RHEL 5.5 I have [deuberger@saleen trunk]$ sudo cat /etc/securetty console vc/1 vc/2 vc/3 vc/4 vc/5 vc/6 vc/7 vc/8 vc/9 vc/10 vc/11 tty1 tty2 tty3 tty4 tty5 tty6 tty7 tty8 tty9 tty10 ...
8
votes
2answers
3k views

Installing a package locally to a user - best practices?

I want to install Git locally to a user on a RHEL server (I don't have root access) What would be your cleanest/ most organized way of installing software to a local user account? Installing ...
8
votes
1answer
443 views

Bandwidth control in linux

How do I control both the inbound and outbound bandwidth in a RHEL 5 router?
8
votes
2answers
408 views

Launching a GUI application in RHEL 5 hangs

When I try to launch any GUI application through a terminal in my RHEL 5.4, it takes a very long time for the GUI to come up. Also, sometimes it just hangs. I see the following messages in the ...
8
votes
2answers
665 views

Difference between txqueuelen and ethtool tx

What's the difference between the txqueuelen setting that can be applied with either: ifconfig eth4 txqueuelen 5000 ip link set eth4 txqueuelen 5000 And the tx ring size setting that can be applied ...
7
votes
4answers
932 views

What distro is the most similar to RHEL 5?

I'm trying to get used to work with linux for a new job, where I will be using RHEL 5, but right now don't have $179 to buy the workstation version from Red Hat store. What free distro would be the ...
7
votes
3answers
48k views

How can we change root password?

If we don't know the root password and don't have root access to the machine, how can we change the root password?
7
votes
3answers
2k views

Once sudo su'd to root, is there a command to see my username?

I have sudo rights on a redhat box; once I've sudo su - to become root in a shell, are there any commands I can run to see what username I su'd FROM?
7
votes
2answers
5k views

Which of these three commands is telling the TRUE Redhat release information

I was checking for the Redhat release so this time I used three different commands. Two commands gave the same result but the third command gave different result. Which one is right. ...
7
votes
1answer
1k views

How to stop users from Switching to Root user

I have disabled the root user login from Sshd.conf file so now no one can login using root user even if they know the password SOMEHOW. Now I have 3 users in server ROOT,EMERG and ORACLE. I want to ...
7
votes
1answer
15k views

How do I install g++ on RHEL6?

This question seems to have been asked here already. My IT department installed the OS so I don't know how to register it properly but I do have root access. Is there a way to get the same packages ...
7
votes
4answers
6k views

How to install software on Red Hat?

What's the simplest way to download/install software on Red Hat Linux (from bash command line)?
7
votes
3answers
7k views

Getting the password expire time

Let me preface this with: I do NOT have root access available. I recently got locked out of my account because I did not know the password expiration was getting close, then elapsed. I want to add a ...
7
votes
2answers
143 views

Are RPMs valid across platforms?

I'm a little confused about RPM's in Red Hat and/or Fedora (and/or other distros?). I can certainly accept that 64-bit RPM's are needed for 64-bit OS'es and 32-bit for 32-bit OS'es but... If I have ...
7
votes
4answers
402 views

How to list all the files used during Linux boot

I would like to get the list of files that are used during the process of Linux boot. We are developing the protected enterprise system based on the RHEL 6.4. The integrity of specified files will be ...
7
votes
3answers
4k views

Why is the theoretical RAM limit for RHEL 6 128 TB and how is this determined?

I'm studying for RHCSA and am confused by a statement I came across in some training material: There is no practical maximum RAM, as theoretically, you could run 128 TB of RAM on RHEL 6. But ...
7
votes
3answers
12k views

How to set global environment variables at boot through a script, and have them available for an application that runs before login?

I have a service that runs at boot, and in that service it calls a bash script in the background that exports some environment variables. The problem I'm having is that those environment variables ...
6
votes
4answers
2k views

What's the difference between a hard links and copied files?

RHEL 6 My understanding is that hard links include a copy of the original file and that I could delete a hard-linked file in one directory, and it would still exist in the other directory. If ...
6
votes
5answers
6k views

Does AIX really beat Red Hat Enterprise Linux?

Our company plan to upgrade our servers, and at the same, we would use AIX over Red Hat Enterprise Linux. I asked my boss the reason of choosing AIX, he said it is because AIX is more powerful. I ...
6
votes
2answers
6k views

Difference between >> and >\> operators?

RHEL 6 Is there a difference between the >> and >\> operators? I read the following blurb in a RHEL training book: "You can add standard output to the end of an existing file with a ...
6
votes
3answers
575 views

What happens when Redhat says: “no more RHEL clones!”

I mean that ex.: CentOS, and Scientific-Linux are the "exact copies" of Redhat Linux. If Redhat would say one day: "I don't allow Redhat clones from now on, I will modify the licence", then what would ...
6
votes
3answers
2k views

What roles do DAC (file permissions), ACL and MAC (SELinux) play in Linux file security?

I need some clarification/confirmation/elaboration on the different roles DAC, ACL and MAC play in Linux file security. After some research from the documentation, this is my understanding of the ...
6
votes
1answer
5k views

Install g++ when having gcc (C only) — RH6

I have a RedHat 6 machine, which came with gcc but without g++. The gcc version is 4.4.4 20100726 (this is what I got from gcc --version). How can I get g++ working? Currently, the shell just returns ...
6
votes
2answers
4k views

How can I install ncdu on Red Hat?

The answers provided to this question doesn't help. I'ved tried yum install ncdu But I'm getting No package ncdu available
6
votes
4answers
886 views

Is there a pbuilder-like environment for RedHat?

I would like to know if is there any utility like Debian's pbuilder, to build RPM packages on RedHat using a clean environment (chroot). I've found mach which has support for something like this but ...
6
votes
1answer
77 views

Linux kernel 3.10.0-123.4.2 processes [flush] aren't present

I am using CentOS 7 with "3.10.0-123.4.2.el7.x86_64" version, but I don't know why the kernel threads named flush aren't present in this kernel version. I tried to look in the kernel change log, but ...
6
votes
2answers
41k views

Static IPv4 & IPv6 configuration on CentOS 6.2

I try to configure static IPv4 & IPv6 configuration on CentOS 6.2. The configuration below works perfectly : # ifconfig eth0 x.x.x.x/29 # route add defalt gw x.x.x.y # ip addr add dev eth0 ...