Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

1
vote
1answer
698 views

Install Puppy Linux or “Damn Small Linux” on Pogoplug (~NSLU2) possible

I am thinking about buying Pogoplug (50 $) which is in fact a NAS server similar to the famous nslu2. Like the nslu2, this device can be hacked to have a full fresh Linux server running. There are ...
1
vote
0answers
113 views

Short talk on Linux [closed]

I am a second year undergraduate computer science student and I have to give a 1 hour presentation (interactive session) about Linux in general and Ubuntu in specific for first year students of my ...
2
votes
1answer
2k views

I/O error but no bad block is reported in syslog

I got errors like this in my syslog, but there's no bad block or sector defined in kernel report, I can't just replace the HDD right now and I prefer to reallocate the bad blocks for now, so I need ...
6
votes
2answers
228 views

Where should I place a downloaded tarball?

I have downloaded the ChromePlus tarball and extracted it to my home directory. The extracted folder contains an executable that I can double-click to launch ChromePlus. So I assume I do not need to ...
9
votes
1answer
4k views

Creating a bootable Linux installation USB without unetbootin

I want to install Scientific Linux from USB. I don't know why unetbootin doesn't work but I am not curious to find out: after all, I transferred to Linux from Windows to see and learn the underlying ...
7
votes
4answers
406 views

What installer types should commercial software use to support Linux?

The source code in not open or free, so compilation at installation is not an option. So far I have seen developers that: provide a tar.gz file and it is up to user to uncompress in suitable ...
2
votes
1answer
311 views

Book or online article on analysis and tuning Linux system performance [closed]

I am looking for a good book or online article on analysis and tuning Linux system performance. So far I've found openSUSE 12.2 System Analysis and Tuning Guide which looks promising. Any other ...
6
votes
1answer
514 views

HDD allocation fstab

In my PC running Ubuntu 12.04 LTS I have installed three SATA hard drives. Two of them are installed near a cooler. I want to physically switch two drives (one that is not near the fan should be moved ...
11
votes
3answers
311 views

Where to find explanation of kernel processes?

I want to know about kernel processes, like [migration], [kswapd], etc. Where are kernel processes like these documented?
4
votes
4answers
306 views

Looking for small distro (to be installed automatically, with g++ and javac)

I'm looking for linux distro only with comand line and i need in it only g++,javac,python. I found Damn Small Linux but it dont have g++ and javac. It should have it out of the box because linux will ...
5
votes
3answers
2k views

How can I ensure my cronjob will run at specified time?

I'd like to know how I can check to see if my cronjob will run at the specified time I set it at. Is there anyway I can test this without having to wait for that time? Here are my crontab -l results: ...
1
vote
2answers
2k views

How to bypass youtube's local cache?

Youtube performance here in Brazil has been terrible lately. Checking my browser's activity I can see that my ISP has a local Youtube cache and serves videos in 1.7 MB chunks. Talking to some friends ...
2
votes
2answers
806 views

Does Linux have support for network interfaces over an AT-Command serial modem?

I've got a Telit GM862-GPS module, which is a GPRS modem with a serial interface and uses the standard Hayes AT command set (with some extensions). What I'd like to do is to be able to connect this up ...
7
votes
4answers
3k views

How to make sure only one instance of a bash script runs?

A solution that does not require additional tools would be prefered.
5
votes
7answers
584 views

Very basic Linux for educational purposes

I want to play with Linux to better understand how it works. Thus, I am looking for a very basic and small Linux to play with. I tried small Linux distributions (which copy themselves to RAM), but ...
0
votes
1answer
307 views

Where can I see the processes running at startup?

I'm using backtrack5 R2 and sometimes when I log in the information showed says that There is 1 zombie process, where can I see what process is running?
0
votes
0answers
215 views

A Reboot() command with failover

I'm implementing a Reboot() call in my application. It's an embedded application, so no console, keyboard or power switch. The Reboot() must eventually restart the system no matter what. Ideally, I ...
1
vote
2answers
712 views

Is there a clipboard on non-GUI Ubuntu / Linux systems? Can I synchronize it with my local (OS X) clipboard?

I spend a lot of time on Mac OS X as a desktop system, and on the Mac there are two nice little utilities for the command line, pbcopy and pbpaste which can accept stdin and write to stdout. Is there ...
5
votes
5answers
655 views

How to setup password-less ssh with RSA keys

I am trying to setup a password-less SSH configuration between two machines and am having trouble. There are a ton of howtos out there that I have followed and have had no success. Here are ...
1
vote
1answer
2k views

iptables forwarding and routing

In fact, this question is about openwrt and CoovaAP, but I guess it's the same in other linux distributions. I've two interfaces, a "wan" and a "wlan" interface. Is there by default any filter, ...
1
vote
0answers
108 views

Flash videos turn to gray box with light gradients on edges

As explained in the title .. it started happenning since installation of new openSUSE and it looks quite bizarre, see below for a shot from blip.tv. It happens usually after few minutes of watching ...
5
votes
5answers
730 views

Download Manager for Linux

I need some good download manager for Linux (like IDM on windows). I want it to be able to install a browser plugin too, which allows you to download movies from youtube or other sites easily. It ...
3
votes
2answers
9k views

Display a file's history (list of users that have modified a file)

Is there a command to display a list of users who modified a file providing a file history? I know that possible with svn/git etc.. but we have a config file that is not in SVN and someone modified ...
9
votes
1answer
700 views

What happens when I do “cat debian.iso > /dev/sdX”?

I'm creating a live-USB and don't understand precisely: what happens when I copy a file (or even a file system) directly to a device node (as opposed to a file system)?
3
votes
2answers
428 views

Modifying TG3 Broadcom driver

I was wondering whether it's possible to modify the said driver in order to prevent adapter from using embedded SRAM, and use system RAM instead. And if so, how to do it. I have a laptop with ...
5
votes
1answer
2k views

Find processes using a network interface

I'm trying to find a way to safely shutdown a network interface, i.e. without disturbing any processes. For this I need to find out what processes are currently using that interface. Tools like ss, ...
0
votes
1answer
236 views

Login command fails and closes connection

I’m trying to execute the login command but it fails. As root (via SSH) I get: root@server:~# login Connection to 192.168.0.50 closed. The SSH connection is closed. In a “physical” TTY the session ...
2
votes
1answer
180 views

Virtual terminal switched when USB mouse plugged in Linux

Our machine runs a modified RedHat 9 (Kernel Linux 2.6.20-1.21, GNOME 2.10.0). When USB mouse is plugged in, the X Window will always switch out, we have to switch back by Alt + F7. There is no such ...
4
votes
1answer
2k views

Umount device after bind mounting directories: is it safe?

I have a home partition which is shared by mulitple distros on the same box. I'm using bind mounts from fstab. Each Linux install has something like this: UUID=[...] /mnt/data ext4 ...
1
vote
3answers
7k views

How to check what is running in a server?

Is there any particular command to find out what servers (like: apache2, mysql-server, backup-server etc) are running inside a dedicated server? If I will reboot my dedicated server will they all ...
15
votes
2answers
10k views

Get the chmod numerical value for a file

In FreeBSD and also in Linux, how can I get the numerical chmod value of a file? For example, 644 instead of -rw-r--r--? I need an automatic way for a Bash script.
5
votes
1answer
145 views

Does the suid bit have any meaning for device files?

Does the suid bit have any special meaning for device files in Linux ?
-4
votes
3answers
2k views

Running Visual Studio 2010 in Linux

Is there any possible way to run Visual Studio 2010 in Linux (Red Hat)?
1
vote
0answers
165 views

BackTrack5 R2 video driver works, but presents disturbing error message

I've installed backtrack 5 R2 on my computer and everything works fine but the video driver. The solution described here does work, but whenever I start the graphics mode, a message saying that the ...
4
votes
2answers
4k views

File descriptor linked to socket or pipe in proc [duplicate]

Possible Duplicate: /proc/PID/fd/X link number i have a question regarding the file descriptors and their linkage in the proc file system. I've observed that if i list the file descriptors ...
2
votes
2answers
138 views

How to constrain the resources an application can use on a linux web server

This is the situation: I have a PHP/MySQL web application that does some PDF processing and thumbnail creation. This is done by using some 3rd party command line software on the server. Both kinds of ...
0
votes
3answers
592 views

How do I execute a newly installed application with Sudo?

I have just installed an application on my Amazon EC2 instance called sshpass. I am having trouble getting it to work properly ( although, it works correctly on a non AWS instance ). I've read in ...
1
vote
1answer
717 views

How to force a particular version of Java?

I am on a RHEL 5.5 64 bit box. The systems engineer installed the 64-bit Java VM under /usr/bin ; however, I needed a 32 bit VM which he installed in /opt/jdk1.6.0_35. But now, everytime I do java ...
2
votes
3answers
1k views

How do I restore my console default font, and why has it changed?

I'm using Lubuntu 11.10, and I use my console a lot. Today I discovered that its font was changed; specifically, this screen is from yesterday: and this is from today: First of all, any idea of ...
25
votes
12answers
3k views

How can I tweak my Linux desktop to be more responsive?

I have the experience that Linux works fine until the physical memory is exhausted. As soon as swap space is used the performance is severely degraded and the GUI becomes unresponsive. This problem ...
2
votes
2answers
4k views

How to use command line to change brightness and color?

Is there any way to change the brightness and color? Using any command line tools? I am trying in Fedora and Ubuntu but no luck so far. Follow up: [command] [conneccted output] [effects R:G:B, ...
0
votes
2answers
224 views

What factors contribute to the expense of migrating to Linux? [closed]

People have various reasons(... and more reasons) to use Linux: Freedom Reliability Stability Security Commercial support But the question of cost is usually put aside, although Linux ...
-2
votes
3answers
1k views

Differences between Windows registry and UNIX/Linux approach [closed]

What are the main differences between the Windows registry and the approach used in UNIX/Linux, and what are the advantages and disadvantages of each approach?
5
votes
3answers
6k views

Howto read SMS stored on a SIM card?

I have an old phone with a telephone card (SIM card) inside. The telephone has an infrared interface on the side. I want to read out my contacts and stored SMS messages from the phone, either via ...
-1
votes
3answers
6k views

How to create command shortcut to .sh file?

I want to type firefox in terminal and run Mozilla browser. So I try to create sym-link: ln -s /opt/firefox firefox but after typing firefox in terminal I get an error: bash: firefox: command ...
6
votes
1answer
335 views

SSH session pauses mid datastream; resumes with a keypress

I've had this problem occur at random, intermittently, across boxes at multiple companies, multiple distros, and multiple kernel revs. I think that I'm just cursed. What happens is that I'll have a ...
2
votes
1answer
172 views

Will select() return before next jiffy if waiting on a high resolution timerfd?

If I have A kernel with CONFIG_HIGH_RES_TIMERS=y, A coarse CONFIG_HZ (say, 100) and a file descriptor from timerfd_create with a sub-jiffy expiration Should a call to select() on this timer ...
1
vote
3answers
493 views

Redirecting without color [duplicate]

Possible Duplicate: Removing control chars (including console codes / colours) from script output How do I disable all color codes when redirecting to file? I previously asked how to ...
3
votes
2answers
347 views

Network issue in vsat

In my server-client architecture, I multicast 100 MB files to many clients from server via satellite link. Network traversal is through 5 hops. I have the 10Mbps ( i.e. 1250 Kilo Byte per second ) ...
0
votes
1answer
1k views

Related to apt-get update command

I am using Ubuntu12.04 and I installed lots of pkg. I want to update only one specific pkg. I tried using $apt-get update pkgname E: The update command takes no arguments so then I tried ...