Tagged Questions

Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

8
votes
5answers
5k views

Why does ps aux displays a number instead of a username?

Running ps aux just gave me the following output: ... www-data 26254 0.0 0.7 27304 3544 ? S 15:07 0:00 /usr/sbin/apache2 -k start 1001 25807 0.8 0.8 48444 4332 ? Sl ...
0
votes
1answer
41 views

Telling any program to perform some action

In linux (Ubuntu 10.04) is there a command line way to tell a program to preform an action? Let's say, for example, tell pid 12345 to execute "Ctrl+S" without stealing focus from my current window? I ...
1
vote
1answer
113 views

Make Server Wake on Connection

I always lock my laptop when I'm not using it, and I keep the lid up when I leave my house, but I find that someone almost always shuts the lid. This prevents me from connecting to my TLS-encrypted ...
0
votes
2answers
165 views

Can't update opensuse from 11.4 to 12.1 because of lack of space in /var

I'm trying to update opensuse from 11.4 to 12.1. Needable size of download is more than 1.0 GB, but my filesystem /var is precisely 1.0 GB, that's why zypper stops while downloading .rpm packages ...
31
votes
5answers
12k views

How can a linux kernel be so small?

An ordinary stable 3* kernel is about 70 mb now. But there are little linux distributions of 30-10 mb with software and other stuff running out of the box. How can the linux kernel be so small in ...
0
votes
1answer
160 views

Recover Data After Formating Ubuntu OS

I was having ubuntu 10.04 on my system, and 2 partitions one with 80 GB and the Other with 70 Gb. I took a backup from 80 GB partition and saved it in 70 GB, I installed Ubuntu 11.04 on my system, ...
0
votes
2answers
87 views

Getting values using sed

I am running a script whose output is: Circuit Packets/Bytes Sent Packets/Bytes Received 2/1 vlan-id 1005 11589119559 14650974869 ...
1
vote
0answers
557 views

CentOS 6.1 + Oracle Express 11g

I have installed CentOS 6.1 and Oracle. And then I closed the firewall, used the right Env Typed /etc/init.d/oracle-xe start and inited OK But, I can not use "get Started" (Firefox displayed: ...
0
votes
1answer
457 views

Can Linux span across VGA + DVI-P + HDMI?

The new motherboard I purchased supports three video output ports: standard VGA, DVI-P and HDMI. I have installed Ubuntu 11.10 on the machine. I have tried connecting DVI-P and HDMI at the same time ...
69
votes
3answers
26k views

Rename screen session

Is it possible to change the name of a GNU screen session? Say I called started it with "screen -S foo" and I want to rename it to bar.
2
votes
1answer
100 views

Screen “dies” whenever “ls” is executed

I'm running Screen 4.00.03 on my RHEL 5 server. Wheneven I open a new screen and execute ls the screen dies. This only happens in this server and not in other servers. What is causing this problem? ...
0
votes
4answers
149 views

Install Linux on this Computer

I have an old desktop computer which I am trying to install Linux to. It looks Dell-ish to me. So far I have tried Linux LiveDVD (I have no LiveCDs) and the computer only has a CD drive. The BIOS is ...
0
votes
2answers
3k views

Write Fedora.iso to USB and boot it from a Macbook

I have an .iso image of the full Fedora 16 install (Downloaded from http://fedoraproject.org/en/get-fedora-options#formats as "Fedora 16 DVD") and the question now is: How do I write it on a USB ...
5
votes
4answers
17k views

How do I password protect a .tgz file with tar in Unix?

I'm using the Unix tar command as follows to tar up a directory and its files: tar cvzf fileToTar.tgz directoryToTar Is there a way to password protect the .tgz file? I've created ...
0
votes
1answer
315 views

How to make `unoconv` to produce exact output on every run?

I came across the unoconv linux utility for converting document formats. I found that unoconv produces different output everytime it is called with same input file. bash$ unoconv -f doc test.html ...
4
votes
3answers
424 views

Is there any alternative to virtualization for handling two different interfaces, different networks and same IP range?

I have a Linux box with two different NICs that are connected to two different networks, but they share the same IP range (10.0.0.x). My first idea was to use virtualization for that (i.e., Xen), but ...
0
votes
2answers
1k views

how do I add global Environment Variables in Gentoo?

I know they get read from /etc/env.d/ but I tried adding in my own file in there (00example) with a single env variable but they aren't picked up after either env-update. How does a user declare them ...
0
votes
2answers
894 views

How can I benchmark Linux PC [closed]

I get a simple benchmark score from Windows Experience Index. Its Windows based. Is there anything similar in Linux? It should be able to benchmark on Memory Disk Graphics Network ... Something ...
1
vote
2answers
2k views

How to update software on linux (Debian)

I noticed that I have lots of programs on my Debian 6.0.3 that need to be update. Eg. I go to the official page of the program eg. transmission bittorent client and I see the newest version is 2.4 and ...
8
votes
6answers
9k views

How to get better Skype notifications in Ubuntu?

In Ubuntu, I want to be notified in a customizable way when someone speaks in a Skype conversation (but not in group Chat 'channels'). The problem is: I have lots of windows open, so I often don't ...
4
votes
2answers
912 views

Manipulate system clipboard via bash script

Is it possible to have a bash script put some text in the system clipboard? (I use Ubuntu with default Gnome and Bash.)
0
votes
1answer
1k views

Unable to create filesystem on new partition - Amazon EC2 instance

I created a new partition /dev/xvda1p1 on linux amazon ami. After that i am unable to create a filesystem. What is the issue? # fdisk -l Disk /dev/xvda1: 8589 MB, 8589934592 bytes 255 heads, 63 ...
0
votes
2answers
103 views

where does portage install packages to when I emerge?

When portage installs a package after I emerge some-package where is it installed - my pwd or a specified directory?
5
votes
5answers
1k views

Linux equivalent to Mac OS X's fs_usage

Is there a Linux equivalent to the Mac OS X command fs_usage? According to the man page it does the following: "report system calls and page faults related to filesystem activity in real-time". I ...
1
vote
4answers
1k views

Is it possible to roll-back a Linux installation to what it was when it was first installed?

I recently installed Linux on a laptop and now wish to roll-back to the state it was in when I first installed it. Is that doable? If so how can I do so?
3
votes
2answers
566 views

How to keep Linux running after hard drive removal?

I am working on an embedded Linux device with a USB hard drive. There is a swap file on this drive. The hard drive may be powered down at any moment before being powered back on few seconds later. ...
0
votes
0answers
117 views

Why is a remote server asking me to generate public/private SSH keys?

Each time I access a specific remote server, it asks me to generate my public/private SSH keys, that it keeps on the machine. Why is that? Don't I send my public key when I try to establish a ...
6
votes
10answers
13k views

Scripting: what is the easiest to extact a value in a tag of a XML file?

I want to read a pom.xml ('Project Object Model' of Maven) and extract the version information. Here is an example: <?xml version="1.0" encoding="UTF-8"?><project ...
2
votes
3answers
1k views

Linux 'ls' - what does the * mean?

When I do a ls in a folder, I sometimes get entries like: a.txt* b.txt b.txt~ I believe: ~ means that it's a swap copy, however what does the * mean?
3
votes
3answers
81 views

chrome with linux

I'm a bit of a Linux noob. I'm on a brand new desktop running RedHat and just trying to get Chrome going. Following a guide, I was told to download the .deb file, then to run sudo dpkg on that deb ...
3
votes
4answers
174 views

Which virtualization technology for old linux box

I have old PIV 1.8ghz, 512MB memory, 40GB HDD, computer with Debian squeeze on it. I currently work on it by connecting to it over SSH. I'm interested in testing/learning/trying out/playing with ...
2
votes
3answers
2k views

Is there a way to force du to report a directory size (recursively) including only sizes of files?

Suppose I create a directory test/, with two files (test/a, test/b) and an inner directory test/c with a file test/c/d, like this: mkdir test cd test touch a echo 1 > a touch b echo 1 > b mkdir ...
6
votes
1answer
1k views

Increase USB polling rate across all devices in linux?

I just came across this tweak that permits one to increase the polling rate of a usb mouse to 1KHz. Is it possible to achieve the same increase to other USB devices (or all USB devices)? I'm a ...
1
vote
1answer
248 views

Meaning of 000 mode bits for root user?

What is the meaning of 000 mode bits incase root user sets 000 for his own file? I logged in as root user and removed all permissions from a file, still i can see the content of file. #chmod 000 ...
2
votes
1answer
6k views

How to install “mail”

I'm trying to install "mail" on a Red Hat 4.1.2-48 box. I tried: yum install mail It prints out: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.anl.gov * ...
0
votes
1answer
2k views

How to install Debian Testing

I would like to install debian testing. I mean that I want to follow the "Testing" distribution. I have tried the installer included in unetbootin "Ubuntu_Testing_Netinst". Once it installed, it was ...
0
votes
1answer
105 views

Progress bars during installation

For long time, I have been curious about 3 overlapping progress bars during installation of Linux distributions. I have seen people using 2 overlapping progress bars (one mostly for cache and the ...
7
votes
4answers
7k views

Faking monitor EDID information

My monitor is sort of finicky. Sometimes I run a program that cycles through resolutions and the monitor will refuse to give its EDID information for a few days: (/var/log/Xorg.0.log) [ 239.653] ...
5
votes
0answers
630 views

Why is I/O caching performance so much better on Linux than Windows? [closed]

This question is really just a port of a similar question on Stack Overflow: The emerging consensus from that question is that Linux has superior caching to Windows but the specific reasons why have ...
2
votes
2answers
199 views

Parted Resize doesnt show up in mount

I used GParted to resize/move a partition on disk. The initial size was 50MB, but I shrunk my C:\ partition in windows, and then moved the start back 50GB This shows up in parted Model: ATA TOSHIBA ...
0
votes
1answer
2k views

Login issue - .bashrc permission denied?

I logged in as root user and create a new user and set the password. But I am unable to switch to the newly created user. What is the permission problem of .bashrc file with root user? # adduser -m ...
3
votes
1answer
1k views

Customize Chromium for a smaller tab/address bar?

I've got a 1024x600 display on my laptop that, while large enough for most of my activities (I'm running a pretty heavily customized XMonad setup) is cramped for web browsing. I've done a lot to make ...
2
votes
2answers
858 views

If i miss something in make menuconfig do i need to rebuild the kernel?

I left out an ethernet adapter driver in my make menuconfig - do I have to build the kernel again (gentoo distro) or is there a way to build in support once the os has been installed and running?
0
votes
1answer
88 views

how can i set in FFMPEG the video codec for a high quality avi?

hi im a begginer in using FFMPEG as a video audio converter, I wonder if someone can help me how to set parameters through FFMPEG in DOS ccommand that will result to a little compressed but still a ...
0
votes
1answer
209 views

Enabling support for pcmcia card after I install Gentoo Linux?

I installed gentoo on an old laptop and everything seemed fine on first boot apart from my ethernet adapter which is a pcmcia card. It's a fairly generic adapter (PC line) and what I was wondering was ...
0
votes
1answer
640 views

External USB hard drive is read only but I want r/w

I recently formatted a hard drive as ext3 to get it to mount in CentOS 5. Now it automatically mounts when I connect it to the USB port, and mounts to /media/disk, but i am not able to write to it. ...
1
vote
2answers
2k views

How to remove PDF bookmarks (from terminal or programatically)?

I was surprised that there is no easy way to remove bookmarks from PDF. pdftk can't do it, ghostscript same AFAIK, qpdf... and there are no other significant tools that I'm aware of Easiest for me ...
3
votes
2answers
11k views

bash commands to connect to wifi wpa network in debian

I'm trying to connect to my router but having no luck. I'm just missing some simple probably one line of code that I cant find anywhere. If I write iwlist wlan0 scan, it shows over 20+ networks that ...
2
votes
1answer
933 views

How to convert ext3 partition to use encrypted file system without losing data?

My embedded Linux device have 2 partitions: small root partition containing OS big data partition which uses ext3 I want to encrypt the data partition by using an encrypted file system. I don't ...
1
vote
2answers
116 views

Installed Linux On A Dual Boot With Windows XP But Cant Load Linux on Startup

I have a small 40gb hard drive which was running windows xp on its own with 9gb reserved for the recovery partition and 1gb empty (I assume for the swap partition). Anyway I decided to overwrite ...