Questions tagged [linux]

Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

GNU/Linux is a UNIX-like Open Source operating system. Linus Torvalds originally wrote the Linux kernel with contributions from others on the MINIX usenet board. Since then, Linux had thousands of developers, both paid by companies and volunteers. The main system tools and libraries for GNU/Linux are sourced from the GNU Project, hence the nomenclature GNU/Linux (GNU Toolchain over Linux Kernel). The Linux kernel is licensed under the GPL v2 license.

There are many different Linux Distributions (sometimes shortened to distro), which consist of software applications packaged and provided with the Linux kernel, being Slackware the oldest active distro and Debian, Red Hat and CentOS among the most used on Internet servers¹.

The Linux kernel is commonly run on servers but is highly portable and is used in a variety of applications, from wireless routers and cell phones to clusters and super computers with thousands of nodes and processors.

External Resources:

38271 questions
15
votes
3 answers

How can I tell what processes are causing high loads if they are not high-cpu usage?

Sometimes my servers will show a high load average in the "top" program (e.g. load is ~10 on a 4-core machine), but the actual CPU usage isn't particularly high. I assume the issue is that there are many I/O-intensive jobs running. Is there any easy…
Lorin Hochstein
  • 5,028
  • 15
  • 56
  • 72
15
votes
7 answers

Tabbed Remote Desktop Client for Linux

I use the rdesktop client to administer Windows machines from Linux. Anyone know a program that will allow me to put these remote desktop sessions all under one window as tabs?
Kyle Brandt
  • 83,619
  • 74
  • 305
  • 448
15
votes
3 answers

mdadm raid5 recover double disk failure - with a twist (drive order)

Let me acknowledge first off that I have made mistakes, and that I have a backup for most but not all of the data on this RAID. I still have hope of recovering the rest of the data. I don't have the kind of money to take the drives to a recovery…
Peter Bos
  • 151
  • 1
  • 1
  • 5
15
votes
2 answers

What is the strategy for detecting time drift in a linux based data centre?

What is the strategy for detecting time drift in all linux based data centre? This is a more difficult problem than it seems at first. Time drift can cause serious problems for certain applications and often, even though NTP is installed, it's…
Stuart Woodward
  • 1,343
  • 4
  • 14
  • 29
15
votes
4 answers

Why does this ldapadd command quit with an "Invalid syntax" error?

I'm very new to openldap but extremely well versed in the linux/unix environment. I'm trying to setup my very first test openldap environment using the guide here. I've also read most of the admin guide here and I have to admit, it is a lot to…
nullByteMe
  • 420
  • 2
  • 5
  • 17
15
votes
5 answers

With virtualization, does it still make sense to use multiple mount points?

In 2013, does it make sense to still have multiple mount points on a new Linux image, or does allocating all space to / make more sense? I'd prefer to avoid the reboot required to increase the size of a mount point. I'd also prefer to monitor a…
Jeremy Mullin
  • 303
  • 1
  • 6
15
votes
2 answers

Bash Prompt Below Output - Background Log Tail

I used to work for a company who had a customised shell for management of one of their products that was running on Linux and I'm looking to replicate a key feature of this shell. All the work was done by a background process and the output from the…
iamacarpet
  • 310
  • 2
  • 13
15
votes
4 answers

How do I get the number of (currently) established TCP connections for a specific port?

How do I get the number of (currently) established TCP connections for a specific port? I have managed to get counters for traffic working by doing i.e for outgoing RTMP. iptables -N $CHAIN iptables -I OUTPUT -j $CHAIN iptables -A $CHAIN -p tcp…
James Bennet
  • 173
  • 1
  • 1
  • 6
15
votes
2 answers

Strongswan vpn tunnel connected but the traffic is not routed through it

I have just set up a vpn tunnel site-to-site with strongswan (4.5). The tunnel looks fine and connected to the other side, but seems there is a problem routing traffic through the tunnel. Any idea? Thanks! Network…
telemaco
  • 251
  • 1
  • 2
  • 4
15
votes
4 answers

Difference between chroot and jail

I read this tutorial - https://help.ubuntu.com/community/BasicChroot - and what I understood is that, chroot is the process of changing the / while the new restricted environment created is the "jail". But some people say I am wrong and chroot and…
user1437328
  • 251
  • 1
  • 2
  • 5
15
votes
4 answers

How to identify NICs that are connected to the same switch from a Linux box?

Initial Setup As a Linux administrator you have installed a fresh Linux box with 6 NICs eth0 to eth5. The eth0 interface is correctly configured and all other interfaces are currently up but without IP address. The network guys have simply attached…
Reiner Rottmann
  • 633
  • 1
  • 7
  • 19
15
votes
3 answers

How can I make a linux samba server to announce itself on the local LAN via Bonjour to Mac clients?

I have a Debian Linux based file-server using Samba and nowadays being accessed successfully by Mac OS X clients.. I'd like this resource to be available in a more user friendly way, by means of Bonjour. Is it possible, to configure the Linux…
drAlberT
  • 10,949
  • 7
  • 39
  • 52
15
votes
10 answers

Multiple *NIX Accounts with Identical UID

I am curious whether there is a standard expected behavior and whether it is considered bad practice when creating more than one account on Linux/Unix that have the same UID. I've done some testing on RHEL5 with this and it behaved as I expected,…
Tim
  • 1,879
  • 3
  • 18
  • 16
15
votes
2 answers

/tmp used 100% where is files?

On Centos 6.3 server I noticed that /tmp has no longer free space to store files. [root@]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-lv_root 99G 11G 84G 12% / tmpfs 16G…
Ken Tang
  • 289
  • 1
  • 2
  • 8
15
votes
1 answer

Why is this SSD drive failing with bad sectors, and was it predictable?

Note: this question was previously closed as off-topic. You can read the discussion. My reasons for asking it here are: This drive is in an offline content cache server for schools in rural Zambia. The servers are created from disk images, and all…
qris
  • 1,203
  • 12
  • 21