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

How to setup /etc/issues to show the IP address for eth0

I've got a couple of linux virtual machines with bridged interfaces, and I'd like the IP address of the machine to show up after the machine boot (in the login, where it usually shows the release and kernel). From what I can tell the message is…
Bruno Lopes
  • 615
  • 2
  • 6
  • 8
15
votes
7 answers

How to prevent samba from holding a file lock after a client disconnects?

Here I have a Samba server (Debian 5.0) thats is configured to host Windows XP profiles. Clients connects to this server and work on their profiles directly on the samba share (the profile is not copied locally). Every now and then, a client may…
15
votes
5 answers

Changing the shell (using chsh) via the command line in a script

In a startup script that sets up a machine, I want to run chsh -s /bin/zsh However, this asks for the user's password. How do I pass in the password as a parameter? Or if I have sudo power, can I somehow bypass that step? Or alternatively, is there…
George41
15
votes
3 answers

Sending audit logs to SYSLOG server

I'm running several RHEL based systems which utilize the audit functionality within the 2.6 kernel to track user activity and I need to have these logs sent to centralized SYSLOG servers for monitoring and event correlation. Anyone know how to…
syn-
  • 493
  • 3
  • 7
  • 10
15
votes
9 answers

On a linux server how do you use multiple terminals over a single ssh connection?

I often find myself opening several ssh connections in order to view several log files at a time with tail -f. This isn't a problem when I'm at home because I use public key encryption for password-less login. However, I will often use computer at…
epochwolf
  • 639
  • 3
  • 11
  • 16
15
votes
4 answers

How do I register Linux server with Windows DNS server

I have several Ubuntu machines (mostly 8.04) that I would like to register their hostnames (or desired hostnames) with my main DNS server running on Windows 2000 so that I can access these machines from any other machine using that DNS server by…
bobwood
  • 213
  • 1
  • 2
  • 5
15
votes
2 answers

what is the point of stripping a binary/elf program?

I'm just wondering if stripping a program file has more benefits than just saving disk space.
user57077
15
votes
3 answers

How do you display the IPv6 NDISC cache in Linux?

Suppose you've configured IPv6 proxy NDP on one of your Linux systems like so: ip -6 neighbor add proxy 2001:db8:1234::5 dev eth1 How do you verify that the configuration took? ip -6 neighbor show doesn't appear to show proxy entries and ip -6…
Gerald Combs
  • 6,441
  • 25
  • 35
15
votes
7 answers

How to grant temporary access to server?

I've hired a remote consultant to tune up my servers. Now, I am not 100% confident about giving him root password and allow him to do whatever he wants to do on the servers. Ideally, I want to see everything he is doing to my servers (in realtime)…
Paras Chopra
  • 543
  • 1
  • 5
  • 15
15
votes
1 answer

Howto show connected targets in Linux?

When I do localhost:~# iscsiadm -m discovery -t st -p 192.168.0.4 192.168.0.4:3260,1 iqn.2004-04.com.qnap:ts-509:iscsi.linux02.ba4731 192.168.0.4:3260,1 iqn.2004-04.com.qnap:ts-509:iscsi.linux01.ba4731 192.168.0.4:3260,1…
Sandra
  • 10,303
  • 38
  • 112
  • 165
15
votes
4 answers

How to set up my own full-featured certificate authority?

I'd like to set up a certificate authority, which I can then import to all the company's browsers and systems to get rid of all those nasty client warnings when using HTTPS or SSL.
Ivan
  • 3,398
  • 19
  • 50
  • 71
15
votes
3 answers

Can you recommend a good intro to iptables?

I have to setup a firewall on a Linux server (all my previous experience is with Windows). My rules are meant to be pretty simple - forbid all, allow some ports with all, allow some ports for specific IP subnets, while the network is small but…
Ivan
  • 3,398
  • 19
  • 50
  • 71
15
votes
3 answers

Reading mail from /var/spool/mail/root

I've tried using mail for reading the e-mail messages in /var/spool/mail/root, but it's really a pain. I've read that pine is better, but it seems not to be available for my linux (CentOS 5.4 x86_64). At least nothing appears when I type yum list…
GetFree
  • 1,500
  • 7
  • 23
  • 37
15
votes
3 answers

How to remove "._" files in a directory? Ubuntu

Is there a command line to remove all "._foo.html" files in a directory on Unbuntu?
Christopher Altman
  • 769
  • 4
  • 12
  • 20
15
votes
3 answers

Getting rsync to move file from source to destination?

Is rsync is a good choice for my project ? I have to : - copy files from source to destination folder via SSH, - be sure all files are copied, - delete source files after copy. - if I have conflict name, I have to rename files. It looks like I…
user44782
  • 265
  • 1
  • 3
  • 5