Hot answers tagged

22

I'll show you a short selection and description of the most common desktop environments. Unity Unity is developed by Canonical. It has a bar at the top which contains the clock at the right and a button on the left which will bring up a search/menu window. There's a launcher on the left of the screen. The default theme colors are purple/orange/brown. ...


15

Quick way #1: if you have a "System" menu entry on the top line, and there's an item in the menu that says "About Gnome", you're probably running Gnome. Quick way #2: ps -ef | grep gnome


13

Have a look at your installed applications. If a lot of them start with K - you're on KDE. If a lot of them start with G, you're on Gnome. Seriously. (Not very accurate if you have both installed though). If you go to the About page of your computers settings panel, that should give you some clues. Alternatively, look around on Google Images for ...


13

I've tested the best tools I've found with GNOME under Linux Mint installed; GNOME under Linux Mint Live USB; MATE under Linux Mint; LXDE under Lubuntu; JWM under Puppy Linux (JWM is not a desktop environment but a stacking window manager). My results: (so-so) env | grep DESKTOP_SESSION= DESKTOP_SESSION=gnome DESKTOP_SESSION=gnome ...


8

Yes, RHEL is based on Fedora. See this Fedora Wiki article: http://fedoraproject.org/wiki/Red_Hat_Enterprise_Linux Red Hat Enterprise Linux (or RHEL) is a commercially supported derivative of Fedora tailored to meet the requirements of enterprise customers. It is a commercial product from Red Hat which also sponsors Fedora as a community project. ...


7

I use echo $XDG_CURRENT_DESKTOP Not sure if it's a 100% working solution, but proved to be good enough so far.


7

You are using OpenSSH 5.3; %h was only introduced in OpenSSH 5.6: Changes since OpenSSH 5.5 ========================= * Expand %h to the hostname in ssh_config Hostname options. While this sounds useless, it is actually handy for working with unqualified hostnames: Host *.* Hostname %h Host * Hostname %h.example.org


6

My way to improve DNS performance: Run namebench to find the fastest DNS provider for you. Done. To my knowledge, there is no magic, local configuration to improve the speed of DNS queries. But I'm hardly an expert on the topic.


6

You can certainly make this switch. Basically you, more or less, point your installation to CentOS repositories and continue on your merry way. You'll have one major problem, though, in that all the CentOS repos seem to have their 5.x packages at release 5.9. There appears, at a quick glance, to be no 5.5 specific repos any longer. I did this on a web farm ...


6

Enable a repository: dnf config-manager --set-enabled <repo> Disable a repository: dnf config-manager --set-disabled <repo> Show help: dnf config-manager --help-cmd The first two should be run with superuser rights. DNF config-manager Plugin documentation.


5

It all started with Red Hat that was the base start and the first widely-available beta release of Red Hat Linux was on october 31 1994 with version number RHL 0.9. On september 25 2003 they started the Fedora project as the developer distro (you are right, also for RHL). So Red Hat became the enterprise distro where Fedora is still real open-source and top ...


5

Anyone on your system, including anyone who can exploit any server on your system, can promote any user to root. This is basically removing security.


5

It will boot and continue working normally, but will not receive any updates, which is quite dangerous. If you want/need an OS based on the RHEL source code, consider CentOS or Scientific Linux.


5

I believe the K implies that when entering run-level 3, it is shutting down sshd Yes. K is for Kill. This is old SystemV style startup. The base scripts are all in init.d, and there are various symlinks with specific naming conventions (S00..., K99...) in the rc?.d directories where they're actually run from. When you change runlevels, say from 1 to ...


5

You can use find /tmp -type f -size +50000k -delete instead, which is clearer, simpler and more efficient.


5

Just use DD, it's a command line program included on most Linux distros. This method works for many distros, not just Ubuntu. dd if=/ubuntu.iso of=/dev/sdb replace sdb with usb drive letter (eg: sdb, sdc, sdd, sde, etc).


4

Fedora does not correspond directly to RHEL or CentOS; RHEL is built from pieces of Fedora, but not the whole thing. The latest RHEL and CentOS versions are directly comparable, except for prerelease versions. Older versions of RHEL have a "u" to indicate the update release where CentOS has a "." to indicate the minor version. Also note that delays in ...


4

This will make things worse in every case but the case where your first nameserver itself fails. Here's an example of how it makes thing worse: Say you're trying to resolve a site whose primary nameserver is slow or broken. Normally this happens. You try your first nameserver. It tries the site's primary nameserver. The primary times out. Your first ...


4

There is nothing that says if this is the Intel compiler or the default gcc compiler. You quoted gcc version 4.1.2 Which suggests to me it is gcc not Intel aren't too clear about the path where they have installed it Try locate cc


4

The sysstat service which runs the sa binaries is not collecting disk statistics in /var/log/sa files. This is turned off by default to prevent the logs from growing large on systems with hundreds or thousands of block devices. When you run sar to report disk statistics, the Requested activities not available in file message is telling you that sa hasn't ...


4

chkconfig controls whether the service should start when your computer boots, while service lets you manage (start, stop, query status) the service. So: # service httpd stop (notice that the option provided is stop and not off) stops the httpd service but won't prevent httpd from starting upon reboot, while # chkconfig httpd off disables httpd so that ...


4

You're supposed to create the file yourself. It's in the tutorial, where it says: cat > /etc/ntp.conf << "EOF" # Asia server 0.asia.pool.ntp.org # Australia server 0.oceania.pool.ntp.org # Europe server 0.europe.pool.ntp.org # North America server 0.north-america.pool.ntp.org # South America server 2.south-america.pool.ntp.org driftfile ...


3

$ yum provides "*bin/xterm" Loaded plugins: auto-update-debuginfo, fastestmirror, presto, refresh-packagekit xterm-253-1.el6.x86_64 : Terminal emulator for the X Window System Repo : base Matched from: Filename : /usr/bin/xterm So do yum install xterm


3

Have a look into adding the EPEL repository to your RHEL build. EPEL is Fedora packages built against RHEL http://fedoraproject.org/wiki/EPEL I have not used this repo to install wine but do currently have it installed in my Scientific Linux 6 RHEL clone. If you are not familiar with install 3rd party repositories then you may want to have a peek at the ...


3

This is a good command to determine your GUI: pgrep -l "gnome|kde|mate|cinnamon|lx|xfce|jwm"


3

To remove something from a directory, you need write access to the directory. Therefore, in your case, user joe should be able to remove anything from test even if that belongs to admin. EDIT: With regular rm, you'll get a warning like: remove write-protected file... ? and you need to answer y. With rm -f you'll get rid of the warning. But anyway, admin ...


3

There is no relation between fedora version and RHEL, Centos version. Fedora is a community project with a release in each 6 months. But RHEL and its clone Centos are enterprise-grade distributions with long release gap. CentOS is a clone of RHEL with branding/artwork etc removed from RHEL. Since the logo, artwork etc are the property of Redhat, it is not ...


3

This command seems to be useful: ls /usr/bin/*session* in GNOME returns /usr/bin/gnome-session (and more) in MATE returns /usr/bin/mate-session (and more) in LXDE returns /usr/bin/lxsession (and more) in XFCE returns /usr/bin/xfce4-session (and more) in JWM returns /usr/bin/icewm-session (should be jwm-session, not?!)


3

Step 1: Make sure it works with the given examples. Step 2: Make sure your fuse code doesn't have any errors in it. Including very subtle ones that may get ignored by a simple ls on a mounted fuse directory alone.



Only top voted, non community-wiki answers of a minimum length are eligible