What version are you using? Use the RHEL tag if your question is about Red Hat Enterprise Linux.

learn more… | top users | synonyms

32
votes
7answers
123k views

How do you automatically detect a new network card in CentOS 6 / RedHat?

I'm using CentOS 6 in a virtual environment. When cloning a virtual version of CentOS, the old eth adapters are "removed" and replaced with new ones and net MAC addresses. However, the ifcfg-ethn ...
23
votes
3answers
43k views

How do I make sudo preserve my environment variables?

Using sudo 1.7.4p4 on Solaris 5.10 and sudo 1.6.7p5 on RHEL4 u6 I can't see how to preserve my environment variables, for instance $PYTHONPATH. I've added this line to sudoers, but it doesn't make any ...
22
votes
5answers
2k views

Sudo vs root; any actual differences?

I'm working with a support member for a product, and he insists that I need to be root to install a series of patches, and that sudo won't work; he doesn't provide a reason but seems very firm in his ...
18
votes
14answers
41k views

How do I check whether I am using KDE or Gnome?

or maybe something else? I am using Redhat OS.
11
votes
2answers
10k views

What is the difference between Amazon Linux and RedHat Enterprise Linux on AWS EC2?

I am very new to this and I don't even know if I should ask this question here or on Stackoverflow or ServerFault. The Question I wish to set up a EC2 instance on Amazon Web Services. My ...
9
votes
4answers
8k views

Why is the size of a directory always 4096 bytes in unix?

I am sure a directory file has much less information than 4096 bytes. I know the sector size is 4096 bytes. But normal files smaller than that do exist. Why does Unix reserve 4096 bytes for each ...
9
votes
3answers
9k views

Where are the rpm files after installation using yum?

redhat 5.4. I have installed a package using yum the package was wireshark. However, after it has installed. Where can I find the rpm package? I would like to locate the actual wireshark.rpm ...
8
votes
4answers
6k views

Setting Linux environment variables

I am running Red Hat Linux Enterprise 5; I am always using the export command to set environment variables. Are there any other ways to set environment variables and what are the ...
7
votes
4answers
10k views

How to get alt-tab on GNOME to cycle through applications like Windows?

I am running GNOME desktop v2.16.0 on RedHat Enterprise Linux v5.3. I would like to assign the Alt-Tab key to cycle through the currently running applications like Microsoft Windows does. I believe ...
7
votes
1answer
2k views

how to disable SendEnv variables set in ssh_config from ~/.ssh/config

I couldn't find that anywhere so I'm wondering am I the only one hitting such issue. By default ssh on Red Hat and Debian at least has a ssh_config with SendEnv option passing LC* and LANG variables ...
7
votes
1answer
388 views

Identifying lost physical memory

I am having issues with a server running out of physical memory and I'm having troubles discerning whether it is from my application's Java process or something else on the server. Let's take the ...
6
votes
4answers
12k views

Command to find files for specific time range

I have few Linux RedHat machines and i must find some files on them. The problem is that they have a lot of files and folders since 2004 year. And i don't know where exactly to look for this files. ...
5
votes
2answers
301 views

Red Hat Enterprise Linux based on Fedora?

According to this site, Red Hat Enterprise Linux is based on Fedora. Is this true?
5
votes
2answers
10k views

“bad interpreter: Permission denied” How can I prevent this error?

I want to run program directly such as ./program without define the interpreter in shell first. so, how can i want to prevent this error? bad interpreter: Permission denied My operating system ...
5
votes
3answers
12k views

RedHat Enterprise Linux 6 - Edit Hostname

I'm currently trying to edit my hostname in a RedHat Enterprise Linux 6 virtual machine but I have some problem. I tried using the function hostname like this: hostname -v bravo.cmweb.com And it ...
5
votes
2answers
223 views

Restrict device ownership to root only. But why?

NSA's Guide to the Secure Configuration of Red Hat Enterprise Linux 5 recommands restricting device ownership to root only. So my question is why should we restrict device ownership to root? And ...
5
votes
2answers
6k views

Sharing accounts between multiple computers running Ubuntu Linux

My school has a computer lab full of machines running Red Hat Linux. They have it set up so that you can log into any computer in the lab, and it automatically loads your desktop, home directory, etc, ...
5
votes
2answers
3k views

How to extract RPM from RPM database in RedHat

Is there a way to extract an installed RPM from an RPM database on RedHat Linux to reproduce the original .rpm file?
5
votes
2answers
2k views

how to find which process had created any file in Linux

Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?
5
votes
1answer
563 views

Why would bash commands sometimes not return output?

In a bash shell, if I execute any command (e.g. "who"), many times it will not show any results, but when I next execute any other command the output of the previous command will be included. e.g.: ...
5
votes
1answer
415 views

get focus only by clicking the title bar of xterm

I've suffered this problem many times and so do my colleagues Sometimes after you stroked some keyboard and mouse combinations this behavior showed up : you have to click a xterm's title bar to focus ...
4
votes
4answers
2k views

Is there a free version of Red-Hat Linux for home desktops?

Is there a free edition of Red-Hat for home desktops?
4
votes
2answers
15k views

How do you create a new network eth?

I have a machine that has eth0 and eth1, and now I want to create an eth2 and assign it some IP address. What's the command for doing this?
4
votes
1answer
705 views

Are there any linux distributions similar to RedHat 5 Enterprise?

I want to install RedHat 5 Enterprise Edition server on my home PC. I will install servers and clients on virtual machines using Virtual box and study server-client structure at home. But RedHat EE is ...
4
votes
2answers
18k views

Can apt-get be used on Red Hat systems?

We know that apt-get is used on debian based systems so what is used on Red Hat Enterprise Linux (RHEL) systems? Is it possible to install and use apt-get on Red Hat?
4
votes
2answers
740 views

From what context is a cron task executed?

I am asking this question after royally destroying a Linux box. Let me give you some background so you know where I am coming from. I currently have (well... did have) a RedHat Linux box running ...
4
votes
1answer
1k views

I believe I've deleted MySQL root user, how do I recreate it?

I'm running ISPConfig on CentOS and I don't know how, but I don't seem to have a root mysql user. I can stop mysqld with /etc/init.d/mysqld stop Start it again and skip grant tables mysqld_safe ...
4
votes
2answers
2k views

How can I enable anonymous access to a Samba share under ADS security mode?

I'm trying to enable anonymous access to a single service in my Samba config. Authorized user access is working perfectly, but when I attempt a no-password connection, I get this message: Anonymous ...
3
votes
8answers
4k views

Where is installed software stored in Linux? [duplicate]

Possible Duplicate: Where is a typical Linux program installed I'm new to Linux and I want to ask a bit more about packages. In Windows, I download an .exe file and install it. When I ...
3
votes
2answers
216 views

explanation about du command linux diskusage

What is the difference between these two: du -h --max-depth=2 /usr/* | sort -nr | head -n 20 And: du -h --max-depth=2 /usr/ | sort -nr | head -n 20 I would like to display the 20 biggest ...
3
votes
2answers
2k views

Linux (redhat) how to change password to previous password

Is there a way to change password to value same as the previous password? I know this is a security flaw, but would like to know however. when I try this: [mrbean@wwwserver ~]$ passwd Changing ...
3
votes
1answer
3k views

Cannot switch to jenkins user redhat linux

I have a redhat linux server running jenkins. I setup jenkins as per the instructions mentioned here https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions The problem ...
3
votes
3answers
81 views

chrome with linux

I'm a bit of a Linux noob. I'm on a brand new desktop running RedHat and just trying to get Chrome going. Following a guide, I was told to download the .deb file, then to run sudo dpkg on that deb ...
3
votes
6answers
974 views

Will learning to use Fedora also teach me my way around Redhat (CentOS)?

I want to dive into the open source world and start using a Linux distro while learning to program. I've looked over the options and it pretty much boils down to Fedora or CentOS. The reasoning behind ...
3
votes
1answer
206 views

How to find out why available disk space is decreasing every day?

I have a CentOS web server which does not have much load on it. I noticed that its available disk space drops by more than 100MB every few days. There isn't any new software installed, however there ...
3
votes
3answers
3k views

How do I add color syntax highlighting to GNU emacs?

I have two versions of emacs available to me on a locked workstation: $ /usr/local/bin/emacs --version GNU Emacs 22.3.1 $ /usr/bin/emacs --version GNU Emacs 21.4.1 In both cases, my terminal type ...
3
votes
2answers
9k views

Installing google chrome on RHEL 5.3

I am trying to install Google chrome on RHEL 5.3 but getting error as Missing Dependency: libnss3.so(NSS_3.12.3) is needed by package google-chrome-beta-4.0.249.43-34537.i386 ...
3
votes
4answers
403 views

How to suspend the Linux system for a specific period of time remotely?

I'd like to suspend or hibernate my RedHat 5 Linux system for a specific period of time. For example I'd like to suspend the system at 12:00 and wake it up at 15:00 remotely. Is there any way to do ...
3
votes
1answer
150 views

Install rpm packages using file globbing with errors

I found a rpm feature. If you rpm install * and one of the packages fails to install then none of the remaining packages will be installed. Does anyone know how to use rpm to install packages with ...
3
votes
2answers
3k views

Why does my $LD_LIBRARY_PATH get unset when using screen with bash?

This is related to http://superuser.com/questions/27376/why-does-my-ld-library-path-get-unset-launching-terminal, but a different set of symptoms. First, /usr/bin/screen is setuid as per the other ...
3
votes
2answers
3k views

How would I check the version of vncserver on Redhat?

I want to check which version of vncserver I am using in my linux box. What is the command for that? When I run which vncserver I get /usr/bin/vncserver P.S: I am running Red Hat Enterprise ...
3
votes
2answers
2k views

How to boot linux direct to application on console with no login

I have a need to start an application on bootup on the linux console and I do not have a need for any type of login or security. I do not need any ALT-F1,F2,etc virtual consoles but I would like to ...
3
votes
2answers
824 views

How can I disable SELinux in Red Hat?

I'm having some issues with shared libraries in a Red Hat installation, for example when I try to run sqlplus: error while loading shared libraries: ...
3
votes
2answers
498 views

How to use Google Talk video chat on Redhat?

Is there some way? This page says its not possible 'normally'. Is there a workaround for this?
2
votes
3answers
26k views

What is the exact command to restart a Redhat linux system?

I am new in linux. I want to know the exact command to restart a red hat linux server 6.3. and it has to start network drivers etc. I am using VPN to connect to remote machine using VNC. Can anyone ...
2
votes
2answers
2k views

Which versions of glibc do different versions of RedHat ship with?

Can anyone tell me (or point me in the direction of an online resource which outlines) which versions of glibc ship with which versions of RedHat? This RedHat document indicates versions of GCC but ...
2
votes
3answers
253 views

Backing up linux server settings / What should be backed up?

I've set up two linux boxes (dedicated hosting) and I want to make a backup of the server settings on both just in case something goes wrong and I need to restore the settings. The hosting provider ...
2
votes
3answers
7k views

How to remote desktop to a Windows Vista machine from a Redhat machine?

I can find this article about remote desktop in Vista, but none that tells me how to remotely control my Vista machine from my Redhat machine. Any ideas?
2
votes
2answers
1k views

How can I register my app to the “service” command?

On RedHat EL 6, many services can be started and stopped on the command line: service some_service start and service some_service stop I have packaged a Node.JS server application in an RPM. How ...
2
votes
2answers
725 views

How can I route all my Internet usage through a remote server?

I have a remote Red Hat Linux server in Hong Kong with rackspace with root access. At home I have a regular ADSL2 100 Mbit/s connection using a FRITZ!Box. I would like to understand the ways of ...