3
votes
1answer
2k views

Benchmarking Apache using ab

I was doing some performance testing for Apache using ab. Apache in our case is only working as a load balancer balancing load between two Liferay servers. Initially, I did the testing for 1000 ...
3
votes
2answers
472 views

How to use output of one command as input in another command

I made a copy of all the backups made on Wed of every week The time stamp of each file is not sorted but the day is Wednesday of every file Now, I need to sort each file based on time Stamp e.g if ...
2
votes
2answers
3k views

How to get Evolution to run in VNC on Debian/Wheezy (or later)?

For many years I've been in the habit of, when away from home, VNC-ing (over ssh) back into my "home machine" and running Evolution (for email, contacts etc) in a tightvncserver environment there. ...
7
votes
5answers
1k views

Can I see what HDD I have installed? [duplicate]

I use lspci for pci devices and lsusb to list the usb hardware devices, is there something similar to list my SATA HDD model ?
10
votes
1answer
30k views

Always redirect error to /dev/null

I know I can redirect the error messages from a command to /dev/null using the following syntax: command arg1 arg2 2>/dev/null But is there a way to do this by default so that the error messages ...
6
votes
2answers
15k views

Set Transmission as default program when opening magnet links

How can I set up Chromium to open Transmission when clicking on a magnet link such as on TPB? Chromium says that it will use xdg-open but that generally doesn't do anything System: Manjaro Linux ...
0
votes
2answers
745 views

How to create as many variables as needed from shell script(bash)?

I'm making a script for monitoring some user processes with Upstart but, since its for the company I work for, they asked me to do it generic...how's so? Well, the number of processes being monitored ...
1
vote
0answers
101 views

what does the linux standard base specify about the kernel?

I was taking a look at the Linux standard base (lsb) and could not find much interesting info on the kernel. Does the LSB specify anything at all about the kernel or kernel interface? Is it kernel ...
0
votes
1answer
562 views

How to use better driver (nouveau) instead of generic VESA with NVIDIA Quadro NVS 140M?

I've got laptop with NVIDIA Quadro NVS 140M and have no Gnome-shell which I like very well. I use: Debian GNU/Linux jessie /sid \n \l When I run Debian as live USB everything works fine. How to ...
0
votes
0answers
3k views

How to convert grub config to use kernel device names instead of UUID

I've got a bunch of identical systems on which I want to clone the same openSUSE 12.3 installation. I've set up clonezilla on PXE server. After appling the disk-image of on another machine, it fails ...
2
votes
2answers
1k views

Problems with accessing files on a Sansa Clip mp3 player

I have problems with accessing my mp3 player (Sansa Clip) on my Linux Mint. When I plug in the player, it does mount, but seems to be empty - well ... there are built in directories and config files, ...
4
votes
5answers
8k views

Find and copy directories containing file type

I have a directory "Movies" containing subdirectories "Movie Name". Each subdirectory "Movie Name" contains a movie file and related image/nfo files etc. I'm trying to copy all directories containing ...
0
votes
0answers
521 views

Tracing system call on Ubuntu 12.04

The main task I have to carry out, is to trace the system call of processes in ubuntu 12.04 LTS. Problem is, I am unable to trace them continuously, i.e. as soon as they are added to the system, they ...
0
votes
1answer
548 views

What is the meaning of “\_” in output of 'ps ef'?

When I executed ps ef command in a linux server, I saw that one of the command starts with \_. For example, \_ /bin/sh /usr/ Could any one please let me know what is the meaning of \_ in this ...
3
votes
2answers
1k views

How to install Ruby 1.9.3 on Arch?

The wiki suggests using $sudo pacman -S ruby1.9 but the package isn't there... I'd rather not compile it from source but I can if no one knows.
3
votes
1answer
2k views

mdadm - Accidentally ran “mdadm --create” on an existing raid-1. The superblock is now corrupt and I am unable to recover data. Did I bork my data?

I have /dev/sdb1 and /dev/sdc2 that were previously setup into a RAID-1 with mdadm, but then I reinstalled and lost the old configuration. Out of idiocy, I ran sudo mdadm --create /dev/md0 --level=1 ...
1
vote
0answers
94 views

Adding separator on top level service menu

I have a top level service menu, now I want to add a separator before this menu, Here's my current service menu header: [Desktop Entry] Type=Service Actions=A;_SEPARATOR_;B;C; ...
1
vote
3answers
4k views

Virtual Interface Not Showing up in ifconfig?

I am trying to create a virtual interface for the purpose of NameBased Virtual Hosting on my CentOS linux box; please find below is the devices' information:- DEVICE=eth0 BOOTPROTO=dhcp ...
3
votes
3answers
250 views

Install using synaptic ignoring dependencies

I was trying to install texmaker a latex editor in my debian system from synaptic. It shows in the dependency list texlive-base, texlive-common. etc as dependencies. But I have already installed ...
0
votes
3answers
146 views

When you ssh into a server, do you use server settings or your own settings?

So say I'm running a Linux server that is running irssi in a tmux session.(Detached) My question is, when I ssh into the server and reattach the session, will my shortcuts that I use on the 2nd PC ...
1
vote
1answer
644 views

how to pdfjoin landscape and portrait oriented JPEG images to one PDF file?

I have some JPEG files. Most of them are landscape oriented, but some are portrait oriented. I want to combine them into one big PDF file. I tried pdfjoin but this results in all images beeing ...
2
votes
1answer
6k views

I need a step by step guide to build kernel modules in ChrUbuntu

I don't have experience building kernel modules. And worse, I'm trying to do it on ChrUbuntu, so it seems that I cannot follow the existing Ubuntu guides. For example, this command fails: # apt-get ...
4
votes
3answers
688 views

Why does mcedit recommend removing hardlinks when saving a file?

Whenever I use mcedit to edit a file that is hard linked somewhere and I want to save the file, the editor asks me if I want to remove the hard links. Is that common behavior on Linux or is mcedit ...
0
votes
1answer
8k views

Which is has higher performance? Nvidia proprietary or Nouveau open source? [closed]

System: Manjaro 0.8.5.2 x64 Core 2 Duo P8700 @ 2.53Ghz Nvidia GT 240M
3
votes
3answers
18k views

Ubuntu make fails with No such file or directory /lib/modules/3.4.0/build

I am trying to build the CP210x driver for the 3.x.x kernel on ChrUbuntu. Build instructions: Ubuntu: make ( your cp210x driver ) cp cp210x.ko ...
6
votes
2answers
442 views

Init gix-annex additional repo with existing files

I configured git-annex to keep track of a directory containing several GB of data. Its content is replicated on an S3 remote, so I can drop some files to free some space and get them back when I need ...
5
votes
1answer
517 views

Automatic shutdown after startup

I'm a new newbie Linux Mint user but I have a lot of desire to learn. I played a little with the shutdown command typing: sudo shutdown +20 and then: sudo shutdown -c I then manually hibernate ...
3
votes
1answer
10k views

USB to Serial in Chrubuntu - /dev/ttyUSB0 missing

The usbserial stuff has been working so well for me in Ubuntu for a number of years that I have almost forgotten how to troubleshoot it. I just installed Chrubuntu, however, and now my usbserial is ...
3
votes
1answer
176 views

Window contents disappear after maximizing

Window contents usually disappear after Maximizing them! Especially Firefox. I'm running Ubuntu 12.10 on a Vaio Z56 laptop (graphics card: nVidia GeForce 9300M GS). I've read this question before and ...
10
votes
1answer
25k views

How to get proccesses currently running semaphores by /proc?

I wonder how to get processes currently running semaphores by /proc ? I guess it's possible by SysVIPC subdirectory.But I don't know how to use this commands. Ubuntu 12.10
7
votes
2answers
5k views

CPU usage of KVM

I have a linux host with 4 KVM linux guests. All the guest are pretty much idle, having a load of <0.1 inside the guest. Now, if I do a top on the host, each KVM process is using something about ...
3
votes
3answers
215 views

sed + how to remove character/s that start or ended on each number

How do I remove the . character(s) that start in the beginning of each number or end on each number? Remark – perl one liner also good alternative for sed. Example input: .23.12.44.5. .233.3.3.3 ...
2
votes
1answer
475 views

apt-get error 503

I tried installing pyqt4-dev-tools on Linux Mint using: sudo apt-get install pyqt4-dev-tools After a few prompts the installation is aborted with the following message: Err ...
1
vote
1answer
1k views

Selecting/highlighting Text Problem

I am using Backtrack 5. As it is based on Ubuntu 10.04 I decided to ask my question to here: I'm having problems selecting text with my mouse. For example when I try to rename a folder, sometimes I ...
0
votes
2answers
3k views

Unable to connect INTEX 3.5G (aka 普创E003) Wireless USB modem in Ubuntu 12.04 LTS

Can anyone help me out on connecting INTEX 3.5G 7.2 Mbps (aka 普创E003) Wireless USB modem in Ubuntu? Initially it is recognized as a storage device and the modprobe cmd does not create any impact on ...
6
votes
3answers
2k views

Linux/GParted can see partition table but dd bs=512 count=1 can't

I have an MBR formatted sd card and when connect to a Linux machine (xubuntu 12.04) it can mount a partition and parse the file system (as can GParted). However, when I try to read the MBR from the ...
6
votes
1answer
2k views

How can I keep color codes with grep input?

If I use two consecutive grep commands, e.g.: echo "foo bar" | grep foo | grep bar Then the first pattern ("foo") is not highlighted. In fact, it seems that grep removes color codes from its input. ...
3
votes
4answers
90 views

Install new packages on old unmaintained computer

We have an ancien server (Fedora Core 4) installed in 2005. This server had never been updated. It runs a special software allowing to monitor a production line without being connected directly to the ...
8
votes
1answer
2k views

Can I launch a process as root without launching root's login shell?

I tried to change the login shell. Here's what the first line of /etc/passwd looks like (on a Debian Wheezy install): rootx:0:0:root:/root:/:zsh When I try to login as root: Cannot execute zsh: ...
0
votes
1answer
231 views

Safest way to run ext4 fsck on external drive

I have an external drive formatted in ext4 that throws this error message when is plugged in EXT4-fs (sdd2): error count: 8 initial error at 1366215273 last error at 1366215527,it generally works just ...
3
votes
2answers
16k views

How to set default console keyboard layout in Arch Linux?

Whenever I reboot my computer I have to set the keyboard layout in a console again with loadkeys. Is there a way to change the default keyboard layout that is loaded everytime the computer boots?
4
votes
2answers
17k views

Missing “version.h” when installing fglrx

I have downloaded the fglrx driver installer from the ATI drivers page. when I start the installation, everything goes smoothly until I hit an error message, telling me to check ...
9
votes
1answer
624 views

Finding all the hard-links of a file without traversing the file system

I have seen in this page that inodes have a link counter to know how many files (read: "directory entry") point to this inode. Is there a way to know which directories contain such entries without ...
3
votes
1answer
707 views

difference between X and Xorg executables under Debian 6.0(kernel 2.6.32-5-686)

What is the difference between X and Xorg executables? I have both in /usr/bin directory: # file /usr/bin/Xorg /usr/bin/Xorg: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically ...
6
votes
3answers
2k views

Can I pipe any two processes to each other?

In this page from The Design and Implementation of the 4.4BSD Operating System, it is said that: A major difference between pipes and sockets is that pipes require a common parent process to set ...
10
votes
3answers
2k views

Should I restart after a pacman upgrade?

after running sudo pacman -Syyu or sudo pacman -S [something to install] should I restart just to be safe?
4
votes
3answers
2k views

Sort using custom pattern

Is there a way to output file's contents using custom patterns? For instance, having a file myfile with following contents: a d b c ..how would one sort it using following pattern: print lines ...
1
vote
2answers
1k views

Splitting large PDF into small files

Using pdftk it is possible to extract page ranges from a pdf using pdftk a.pdf cat 124-end output b.pdf dont_ask I have a bunch of huge PDFs with about 500 pages and over 100 MB, is it possible to ...
1
vote
1answer
482 views

Using mutt and not revealing IP address

Here is mutt setup: I use offlineimap to fetch the mail and use msmtp to send the mail. My concern is that when using this (msmtp), it appends my IP address in the header in every email that is sent. ...
1
vote
0answers
273 views

unable to segment theora vorbis video file with ffmpeg

i am trying to split ogg video into 10 sec ogg video segments with ffmpeg segmenter. ffmpeg -i www/VideoPlayer/Videos/wr3libvorbis.ogg -map 0 -f segment -segment_time 10 -segment_list ...

15 30 50 per page