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
16
votes
5 answers

iptables management tools for large scale environment

The environment I'm operating in is a large-scale web hosting operation (several hundred servers under management, almost-all-public addressing, etc -- so anything that talks about managing ADSL links is unlikely to work well), and we're looking for…
womble
  • 96,255
  • 29
  • 175
  • 230
16
votes
1 answer

Implementing Linux fstrim on SSD with software md-raid

I'm currently building a new Ubuntu 13.04 server with 2 256GB SSDs in a raid mirror to run a MariaDB instance. We typically place LVM on top of dm-crypt encryption on top of an md raid 1 array, but haven't used SSDs in this setup previously. My…
nedm
  • 5,630
  • 5
  • 32
  • 52
16
votes
4 answers

Is there an open source email client that will work with Exchange 2007?

Recently I've been playing around with Ubuntu 9.04 on one of my work systems. The only real bump in the road that keeps it from being being used as my main workstation is that I cannot find a suitable solution for an email client that works with…
Psycho Bob
  • 816
  • 2
  • 13
  • 23
16
votes
3 answers

Is there a hard limit to the number of files a directory can have?

Wondering if there is a limit to the number of files that can be stored inside a directory, in CentOS 6. There is one particular directory which could potentially have millions of subdirectories. Storage capacity aside, is there a limit to the…
Juan Carlos Coto
  • 677
  • 2
  • 6
  • 13
16
votes
1 answer

What are the correct permissions for /etc/init.d/ scripts?

What are the correct permissions for /etc/init.d/ scripts and what chmod options sets them?
davidmytton
  • 666
  • 3
  • 7
  • 17
16
votes
6 answers

Reasonable automatic HTML to PDF conversion (in UNIX/Linux environment)

Is there a way to generate PDF documents from HTML files automatically in Linux where the PDF offers some kind of reasonable level of resemblance to the input file? A command-line tool - as opposed to an interactive GUI of some kind - is key. I have…
Alex Balashov
  • 907
  • 2
  • 9
  • 16
16
votes
4 answers

Concatenating files to a virtual file on Linux

On a Linux system, is there any way to concatenate a series of files into one exposed file for reading and writing while not actually taking up another N bytes of disk space? I was hoping for something like mounting these files via…
Ryan
  • 273
  • 2
  • 5
16
votes
5 answers

Get postfix to forward root's mail

I have an Ubuntu server running postfix. It is not the mail server for my domain. Whenever a cron job runs for root, the output mail is not delivered locally, instead it gets sent to root@mydomain.com via the main mail server. This is not what I…
oz1cz
  • 1,575
  • 3
  • 11
  • 10
16
votes
2 answers

How to calculate max_connections for PostgreSQL and default_pool_size for pgbouncer?

Is there a rule or something I can use to calculate a good number for max_connections, default_pool_size and max_client_conn? The defaults are odd. PostgreSQL defaults to max_connections=100 while pgbouncer defaults to default_pool_size=20.…
16
votes
4 answers

How to measure total writes performed to SSD in Linux?

I've searched the internet to find a tool/utility which can tell me the total writes performed to an SSD (or a normal disk). The output should look something like this: SSD Intel 320S :- Total data written until now -- 2Tb Total data read until now…
And Or
  • 161
  • 1
  • 1
  • 4
16
votes
2 answers

how to know who ping my computer ?

Possible Duplicate: How can I know when my computer is pinged? I'm using Linux. I would like to know how to tell who is pinging my computer. I have seen this similar question using Windows, but I'm not sure it applies to me.
Raja G
  • 289
  • 1
  • 2
  • 10
16
votes
8 answers

Method to integrate Powershell scripts with non-Windows workflow?

I love the smell of new machines in the morning. I'm automating a machine creation workflow that involves several separate systems across my infrastructure, some of which involve 15 year old perl scripts on Solaris hosts, PXE Booting Linux systems,…
Matt Simmons
  • 20,396
  • 10
  • 68
  • 116
16
votes
4 answers

iptables, default policy vs rules

Is there any difference in dropping not-matched packets with default policy vs -j DROP on the end? Like: iptables -P INPUT DROP iptables -A INPUT --dport 80 -j ACCEPT vs iptables -A INPUT --dport 80 -j ACCEPT iptables -A INPUT -j DROP The reason…
someone
  • 163
  • 1
  • 1
  • 4
16
votes
3 answers

How do I use rsync with an IPv6 address via SSH?

I've been having difficulty with connecting to my IPv6 address via rsync. Because the argument for the destination folder is colon-separated, the IPv6 address disrupts this like so: root@fdff::ffff:ffff:ffff:/path/to/dest How do I use rsync with an…
Colene Lafever
  • 171
  • 1
  • 1
  • 6
16
votes
1 answer

How to list current sshfs mounts to server?

If someone logs into a server via ssh for shell usage, a quick use of last|w|who can be used to show the logged in user. If someone mounts a directory on the same server via sshfs from another computer last|w|who do not show a connection. Is there a…
M. Smith
  • 163
  • 1
  • 1
  • 4