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 ...


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).


5

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

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

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 ...


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

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 ...


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

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

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 ...


3

The problem was not with my machine, but my company DHCP server, which block more than one mac on port. It took me two days to find out that problem was "outside" my machine


3

The Intel C++ compiler is usually installed in /opt/intel. There's a script you have to run to set up your environment to use it, usually iccvars.sh. For the most common installation options, this should work: . /opt/intel/bin/iccvars.sh intel64 icc -v


3

In bash, 2> /dev/null would actually work, as long as you add it as part of the find command itself, i.e., before the pipe. For example, this will work: find -type f -printf "%s %p\n" 2> /dev/null | sort -nr | head -n 20 With tcsh, there's no straightforward way to do the same, but man tcsh mentions a workaround: The shell cannot presently ...


3

The version of glibc you have installed does not satisfy the dependencies of the RPM you are trying to install. You mentioned that you are using RHEL 6.5 -- the RPM you are trying to install has "el7" in the filename (libtirpc-0.2.4-0.3.el7.x86_64.rpm) which means that it was compiled and built against RHEL 7. You can see that your system has GLIBC 2.12, ...


3

It is there mostly as a legacy thing. The daemon User ID/Group ID was used as an unprivileged User ID/Group ID for daemons to execute under in order to limit their access to the system. Generally daemons should now run under individual User ID/Group IDs in order to further partition daemons from one another. What it would hurt to use the daemon group ...


3

What is the purpose of the daemon group and user? The daemon User ID/Group ID was used as an unprivileged User ID/Group ID for daemons to execute under in order to limit their access to the system. Generally daemons should now run under individual User ID/Group IDs in order to further partition daemons from one another. Source User & Group Names ...


3

It's all based off of Bell Labs System V Unix which was somewhere around when init and run levels were introduced. It stands for runcom or run commands. In the question of anything Unix, consult the Jargon File. There's a deep history, canonical and recorded that came before Linux :rc file: /R·C fi:l/, n. [Unix: from runcom files on the ...



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