Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

2
votes
1answer
535 views

Controlling users' default printer as an administrator

What are the necessary steps to change the default printer for individual users on a reasonably recent Linux system using CUPS? (i.e. not the system-wide default) The CUPS lpr manpage indicates that ...
3
votes
2answers
259 views

join files with numbered index

I am trying this command: join -a1 -11 file1 file2 > file3 file1 looks like: 1 2 3 4 5 6 7 8 9 10 11 file2: 1 lkj klj lkj 2 lkj lkj lkj 3 7 lkj lkj lkj 8 9 11 ...
2
votes
1answer
3k views

“INIT: version 2.86 reloading” - cause and fix?

INIT: version 2.86 reloading appears on screen. Encountered this error and it seems there is no other way to fix this other than rebooting the system. unable to ssh in, unable to login via ...
2
votes
1answer
2k views

Power off USB storage device/port to avoid power consumption

A connected USB storage device, even if unused (unmounted, etc.), consumes power. How can I turn it off / turn its power off so that it doesn't consume power as if it was disconnected, but without ...
2
votes
4answers
5k views

How to set CST timezone w/o daylight period?

I want to configure linux box to use CST w/o daylight. My first idea was using the UTC-06 zone file, but for some weird reason it provides UTC+6, not UTC-6 time! After that I read the List of tz ...
3
votes
2answers
280 views

Why does linux scan my cdrom on boot?

My linux system scans my cdrom on boot. Can I disable that feature without removing my cdrom tray?
1
vote
2answers
132 views

How can I change the default action of C-a in screen to just a backtick `?

I tried something like escape ^` But that did not do it? I just want to change the default ctrl-a behavior. Also, is it possible to bind each numeric key (1, 2, 3, 4, 5) to change those specific ...
2
votes
1answer
631 views

What are the dangers with using “--assume-yes” with apt-get?

While making some improvements to my .bashrc file, I noticed a frequently used alias: alias install='sudo apt-get -y install' I wasn't familiar with the -y (aka --assume-yes or --yes) option with ...
3
votes
3answers
511 views

How to install openssh in Crux Linux

In Crux Linux I already have installed SSH but when I use ssh-keygen, and try to use the command: ssh localhost to test SSH I get this error: # ssh localhost ssh: connect to host localhost port ...
2
votes
2answers
997 views

How do I connect to a new wifi on the command line? [duplicate]

Possible Duplicate: All commands that should be used to connect to wifi in command line I don't need to configure my wifi card or anything. I just want to do the equivalent of a) listing ...
4
votes
2answers
232 views

How to modify linux console prompt line ( for a while )

For example I typed such commands: user@my-machine:~$ cd ABC user@my-machine:~/ABC$ cd long-name user@my-machine:~/ABC/long-name$ cd another-long-name ...
3
votes
2answers
1k views

Linux Mint: drives' map changing at reboot brings fstab error

I've set up fstab to auto mount media drives on a Linux Mint machine. The OS is installed on a IDE/ATA Disk while 3 SATA disks hold data to share. The BIOS has the ATA disk as first boot device. All ...
0
votes
1answer
1k views

Unable to login to linux machine

I can't login to my linux machine. It's giving me the following error: /usr/libexec/gconf-sanity-check-2 exited with status 256 I removed all the files in the /tmp directory after this issue ...
4
votes
2answers
285 views

Why won't my Linux install boot?

It's my first time compiling a Linux kernel. Everything went well until I hit this problem. After I edit my /etc/fstab: and edit etc/lilo.conf: I want to set the info about crux in lilo, so I ...
0
votes
1answer
3k views

Command line linux alternative for Windirstat/SpaceMonger? [duplicate]

Possible Duplicate: How to understand what's taking up space? What's a good command line utility/script to analyze a folder structure and find out what's taking up all the space? The ...
6
votes
2answers
703 views

How can I test the current carrier state for an ethernet adapter in Linux?

In Arch Linux, how can I check if a network device (say eth0) has a carrier signal present?
5
votes
3answers
3k views

What do first column in /proc/mounts really mean in Linux?

Run cat /proc/mounts and I get this (simplified): rootfs / rootfs rw 0 0 proc /proc proc rw,relatime 0 0 /dev/sda1 / ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0 io /etc/blkio cgroup ...
4
votes
3answers
6k views

How I can know the IP address of other users logged at the same remote machine?

I can see the names of other users on the remote machine with the who command... I'd also like know the IP address of those users... I was trying with the commands /sbin/ifconfing and netstat but I ...
2
votes
0answers
1k views

What good are the signs '-' (minus) in any Linux/UNIX commands? [duplicate]

Possible Duplicate: What does “--” (double-dash) mean? Single dashes - for single-character options, but double dashes -- for words? I was reading the man zip page and I found ...
4
votes
4answers
796 views

Linux's man alternatives

Are there any alternatives to linux's man? I know many users used to man and for them it's useful and best way to find what they want, but i'm looking for something which is focused on examples. Is ...
3
votes
2answers
239 views

Bind locally installed library

I have no root-acces on a machine and i'm trying to install a library called GiNaC locally in my home folder. I use this tutorial http://www.ginac.de/tutorial/Configuration.html#Configuration. At the ...
7
votes
1answer
8k views

Why are incoming packets on a TAP interface seen with tcpdump but not with iptables?

A program injects packets on a Linux TAP interface (these packets are coming from a virtual machine). Specifically, these are DHCP requests (so they're UDP). I can see the packets with tcpdump but not ...
3
votes
1answer
234 views

Detecting multihomed machine

Is there a way to reliably detect whether or not a machine is multi-homed? I'd like to be able to write a script that will return a true or false regarding that information.
2
votes
5answers
9k views

How to get netmask from bash?

I want to get my netmask on Linux. It is outputted with ifconfig but I want to extract the string.
3
votes
2answers
1k views

How does Linux keep track of filesystems?

As I know, Linux has an abstract layer of all filesystems and this layer is VFS. If I create a new filesystem, I should follow rules made by VFS (see "Anatomy of the Linux virtual file system switch" ...
34
votes
2answers
127k views

How to get the complete and exact list of mounted filesystems in Linux?

I usually use mount to check which filesystems are mounted. I also know there is some connection between mount and /etc/mtab but I'm not sure about the details. After reading How to check if /proc/ is ...
1
vote
1answer
320 views

Do memory-backed filesystems (like sysfs and procfs) have superblock and inode table?

From "Design and Implementation of the Second Extended Filesystem" I know that ext2 has superblock and inode table stored in disk and superblock will be accessed when mounting the filesystem. Do ...
2
votes
2answers
4k views

How do you format a USB stick after it is being labled “unrecognised” by Ubuntu?

I have a memory stick which I had cleaned of old data fragments. The memory stick was mounted on /dev/sdc1 so I did: dd if=/dev/zero of=/dev/sdc1 bs=1M After the task was complete, my usb memory ...
4
votes
5answers
887 views

What can I use that is small, has linux, an ethernet port, and a hard drive?

I see that David Braben has created a $25 USB stick that can run linux. Check out the website at http://www.raspberrypi.org/ That's not available yet - so what's a low power *nix device that I can ...
37
votes
9answers
49k views

Linux distribution geared towards developers [closed]

I am looking for the best flavor of Linux that would appeal to the developer's side of me. I am a lover of open source and use several different languages. Is there such a thing as a Linux geared ...
5
votes
0answers
105 views

How can different file descriptors point to the same file in open file table? [duplicate]

Possible Duplicate: How can same fd in different processes point to the same file? I have a hard time grasping the two ideas of File Descriptor Table and Open File Table. Open File Table ...
4
votes
2answers
581 views

How to list all running X applications?

I'd like to get a list of all of the apps (across all users) on my machine that are talking to the X server. What's the most reliable way to do that? Find the socket X runs on and lsof for connections ...
2
votes
1answer
133 views

Is it possible for grub2 to detect some specific CPU features and choose a proper kernel to boot?

I want to configure grub to check some CPU features on startup and choose a proper kernel to boot (e.g. multiple cores -> kernel with SMP support). Is it possible? If so, then how do I do it?
0
votes
2answers
395 views

Linux distribution for a netbook with 7-inch display with 800×480 screen resolution [closed]

What distros work well on an eeePC with an 800x480 7-inch non-touch display and a 2GB SSD flash drive? I tried a couple, but they're definitely not optimized for 800x480. I need something for rich ...
3
votes
1answer
1k views

GPU accelerated transcoding

What is the current state of GPU accelerated transcoding under linux? I'd like to set up a video converter server and like to use all the available resources besides the CPU. Is there any tool, which ...
4
votes
4answers
2k views

Stripped down Kernel for a Laptop

I am a Linux noob, but I am willing to learn. My immediate objective is to compile a small kernel for my laptop without sacrificing usability. I am familiar with the kernel compilation steps (don't ...
3
votes
1answer
167 views

Is oops of kernel tainted by staging device less likely to be investigated?

I understand that kernels tainted by binary modules are less likely to be investigated by kernel maintainers. However what is the policy if kernel is tained by staging driver (if the staging driver is ...
3
votes
2answers
233 views

Does elementary OS use the standard AppIndicators?

I think about switching from Ubuntu, but I don't want to miss the AppIndicators.
2
votes
1answer
360 views

How can I direct input from two keypads to two respective terminals on one computer?

I want to connect two usb keypads to the same computer (Linux). Then I want to open 2 consoles #1 and #2 and execute one process on each one of them. Then I want to receive input from keypad #1 on ...
6
votes
2answers
12k views

Oracle Linux 6.1 guest on Virtualbox 4.1 can't connect to network

I just installed VirtualBox 4.1 on my Windows system, and then added a Solaris 11 Express guest and an Oracle Linux 6.1 guest. Both installs went smoothly. But while the Solaris 11 guest has network ...
6
votes
2answers
3k views

Please help me in installing a Linux distribution on Apple TV 2?

I want to hook up an Apple TV 2 (the second, small black version) to my 58" Samsung television, and want to use an RDP client that comes built into Google Chrome to control the Apple TV from my ...
2
votes
1answer
1k views

What is the fastest way to install GCC on Wind River 3.02?

I am fairly new to installing things on a bare-bones Linux system and really do not want to just blindly install rpm after rpm of dependencies I think I might need... I know that this version of ...
4
votes
1answer
528 views

GNU/Linux, IO performance problems

I have some problems with my system performance. As I was adviced here, I used sar: $sar -u 5 and found out that the problems are caused by a low HDD performance, as I supposed (high %iowait). ...
1
vote
0answers
294 views

Handling SERIRQ Interrupts from LPC-Connected Devices

How are SERIRQ interrupts generated by devices connected via an LPC (Low Pin Count) bus handled by Linux device drivers? In particular, how is an interrupt generated by one device on the bus ...
2
votes
2answers
2k views

Should I end my text/script files with a newline? [duplicate]

Possible Duplicate: What's the point in adding a new line to the end of a file? What is considered better behaviour: to leave the last letter of the last line to be the last byte of a ...
2
votes
3answers
1k views

Stream Media Content from Linux to PS3

I have a Linux system (Debian testing) with some video files I would like to play on my Playstation 3 (an original, unmodified PS3). I can connect the PS3 to my home network using either WLAN at ...
1
vote
4answers
1k views

Call 'ps' as a normal user in Linux

A brief introduction to my question: the command ps will print the information of system processes. But when I login as root and change the permission x of ps chmod -x /bin/ps chmod u+x /bin/ps ls ...
1
vote
1answer
499 views

How to configure a Frame Relay in Unix/Linux?

I am in a Networking course, the course employs a Cisco packet tracer to practice before the real implementation, but I only use GNU/Linux (Debian Squeeze) and I need to configure a next network ...
0
votes
1answer
682 views

How to enable TCP connection in Debian Squeeze?

I need enable TCP connections to my system, for use graphical applications in marionnet, network simulation system, in debian squeeze. In older versions of debian it is achieved with ...
32
votes
5answers
27k views

How can I tell what version of linux I'm using?

Often times I will ssh into a new client's box to make changes to their website configuration without knowing much about the server configuration. I have seen a few ways to get information about the ...