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

0
votes
0answers
680 views

apt-get “Broken packages”

While installing python-dev: sudo apt-get install python-dev I am getting the following error: The following packages have unmet dependencies: python2.7-dev : Depends: python2.7 (= 2.7.3-0ubuntu3) ...
0
votes
2answers
35 views

Bash: accessing another users documents

Using bash scripting I am trying to access another's users documents and search for a word in a file, how would I do this?
2
votes
1answer
245 views

wget downloads empty files even with proper referer and cookies

I'm trying to scrape Brenda Enzymes for a bunch of molecule files with a script. If I just download by file URL (it's a PHP redirect), I get a 0Kb file, so I think they're checking for cookies and/or ...
0
votes
2answers
379 views

Passwordless SSH between users on the same server fails (CentoOS 6.3)

I have set passwordless connection from user A on my server to two other users. SSH to one of them works fine, but to the other one it asks for password. As far as I can tell, both users are the same ...
2
votes
0answers
2k views

What is the use of the [BOOT]/Bootable_NoEmulation.img file on several boot images?

I've seen a file called [BOOT]/Bootable_NoEmulation.img on several boot images, and always wondered what it's use is. Neither found a suitable magic number nor could Google help me so I ask here. ...
2
votes
1answer
808 views

Hang during reboot

I've recently installed a second HDD bay in my laptop, but now, every time I issue a reboot, the computer hangs for about 1m30s (completely freezes on a black screen, with the fans at the maximum ...
1
vote
1answer
2k views

How to setup a simple proxy server on my VPS?

I would like to setup a simple proxy server on my VPS to use it to browse the browse. I will be the only user so no concern about bandwidth. Can you give me some ideas about it?
2
votes
2answers
1k views

Thinkpad speaker turns mute - Linux Codec issue?

At some point a few days ago the speakers on my Lenovo Thinkpad T410 (Model number: 2537A11) suddenly stopped working randomly. This error happens every time I watch a video or listen to a music file. ...
2
votes
2answers
788 views

real number of sectors on HDD

This is part of output of fdisk -l Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector ...
1
vote
0answers
356 views

how to read data from ps/2 (usb-mouse) similary like I read serial port from arduino?

How to read data from ps/2 (usb-mouse) similary like I read serial port from arduino ? For example when I press serial monitor in Arduino IDE or wen I type: "import processing.serial.*; ...... " in ...
0
votes
1answer
431 views

rpm removal failure

I'm encountering a problem removing an installed rpm. > rpm -q my_rpm my_rpm-3.0.0-27 > rpm -e my_rpm error: can't create transaction lock on /var/lib/rpm/__db.000 I have also tried to run ...
1
vote
0answers
426 views

How to get current number of opened inotify watches?

My system is CentOS. I'm trying to get this by listing fs.inotify variables via sysctl call (sysctl fs.inotify), but didn't found anything useful, only variables to specify limits.
2
votes
2answers
3k views

How to detect if VT-X has been turned on in the BIOS?

I know I can check is VT-X is supported by a processor by egrep '(vmx|svm)' /proc/cpuinfo. But even if it's supported, it can be turned off in the BIOS. How can I detect if it's turned on or off?
0
votes
1answer
182 views

Upstart event when network connectivity to a specific server is available?

Is there a way in upstart to code an event to start when network connectivity to a specific machine becomes available? Something based on a ping result would work in my case. The task being started ...
1
vote
2answers
158 views

Sync $HOME across linux machines

What ways are there to sync my full $HOME across machines (currently 2)? Required features: exclude either symlinks outside tree or mount --bind so I can have big data outside the homedir but still ...
1
vote
1answer
250 views

Mint4win — persistency

I installed Linux mint 14 using the mint4win application as an apllication inside windows. After that I rebooted into the mint OS. then I installed python idle 2.7 and some other softwares. Then I ...
3
votes
1answer
1k views

Linux iptables forward from ip1:port1 to ip2:port2

I connect thought tunnel to other machine like this: ssh user@ip -L2000:192.168.64.88:80 So on my local machine I want to configure iptables that way like I have a "native" access to ...
0
votes
2answers
93 views

Do I need to use -r with the command cp when using the find command in Linux?

I have documents spread between multiple directories in a given path e.g. /media/devicename/name_of_directories. I used the find command to help locate certain files e.g. .doc, docx, etc find . -type ...
0
votes
1answer
5k views

ioctl LOOP_SET_FD failed: Device or resource busy

I'm trying to get Backtrack to run on my Droid DNA. I've been tweaking the script little by little but I still come up with the following. I changed the loop on it, and another program always seems to ...
-1
votes
2answers
206 views

I can su to root, but sudo <command> fails

I am running Centos 5.3 and I can su to root fine. However when I run a command as another user like: sudo ls, the system says incorrect password for the same password. Why is this happening? Thanks. ...
4
votes
4answers
2k views

Need to find which drives are mirrored within RAID-10 array

I have a home media server running on openSUSE 12.2. I'm using eight 2TB drives in a RAID-10 configuration. I deliberately bought two different types of drives: four Seagate Barracuda Green and four ...
1
vote
1answer
3k views

Mint Uefi installation

I got few small issues with a Mint installation. I've bought a new laptop (Asus n56vj) with a preinstalled Windows 8 system. And there is the first problem, laptop has uefi mode on. So when I try to ...
1
vote
1answer
587 views

Make sound louder in ogg video

I have recorded screencast video with GtkRecordMyDesktop, in ogg format. Microphone was wrongly placed and recorded sound is very quiet. Is there any way to increase sound loudness? Update: When I ...
1
vote
2answers
34 views

how to match string in “sk_term(” in vi

I have a sql file where I want to match the string "sk_term(" in the file when I am using :/sk_term( it giving the following error E486: Pattern not found: sk_term(
0
votes
0answers
427 views

CD- and USB-less install of Linux Mint 14…from Haiku and/or BeOS

I have a system that boots BeOS and Haiku nightly, and has a spare partition which I used to have PC-BSD booting on. (I use Haiku's BootManager on .../master/raw.) I want to try Linux Mint 14, but I ...
0
votes
2answers
2k views

How to kill a process that won't die?

Something went wrong with my "setroubleshootd" demon on a production server. it's taking a lot of cpu and won't die no matter what! what i've tried sudo killall -9 setroubleshootd sudo killall -9 ...
2
votes
1answer
144 views

Why do different commands in Linux give me different file system types?

I am attempting to ascertain the type of file system a particular partition has. The command fdisk -l gives me the output; /dev/sdb1 2048 976773167 488385560 b W95 FAT32 However ...
4
votes
1answer
364 views

How to find all jpeg images of the same camera model

Recently during a installation messup , I lost all my files from my windows NTFS drives. I installed on testdata on Ubuntu 12.10 Desktop edition and with the help of photorec could recover a lot of ...
0
votes
1answer
203 views

Need guidance in understanding rkhunter results

Today, I performed a system wide scan for rootkits using the rkhunter --check command. All results were ok, with the exception of a warning: [10:14:30] Warning: The command '/usr/bin/unhide.rb' has ...
1
vote
8answers
7k views

How can I move files from Windows to Linux using WinSCP?

I have putty and winscp, but winscp doesn't work in this case because I need to use a command cd ../public in order to enter the directory as I can't find it for some reason. How would I use putty ...
0
votes
1answer
3k views

hdparm -I does not work for logical volumes; HDIO_DRIVE_CMD(identify) failed: Invalid exchange

Does anyone know if hdparm works for logical volumes? [root@qlnx053 home]# pvdisplay --- Physical volume --- PV Name /dev/sdb1 VG Name vg01_sas PV Size ...
-1
votes
1answer
312 views

How can I recursively rename all files in a folder? [duplicate]

I'm using linux and I have a project with files named myproject-someextention.whatever and someotherstuffmyproject and so on. I'd like to recursively rename everything that has myproject in the file ...
2
votes
2answers
131 views

Is it possible to migrate a software RAID5 array to RAID0?

So last year I helped my father in France set up his Office machine with a RAID5 array of 3 identical 1TB drives (for a combined space of 2TB). Last week one of the drives died, he's using the machine ...
1
vote
0answers
557 views

atop - next page in process list, same processes

I use atop logs to examine state of my server. I am confused next page option: ^F - show next page in the process-list (forward) atop shows me a process list as follows: 21559 ... 2013/03/13 ...
2
votes
2answers
160 views

Unable to get profile variable using ssh

Unable to retrieve the profile variable using ssh. server2 ==> user apptst ==> bash profile has $APPHOME variable. Was trying to retrieve the value from server1 using ssh but failed. Used options ...
0
votes
2answers
160 views

How to deal with the shell input before it executed in Bash or zsh? [closed]

everyone. I am a bash/zsh user(Linux). I want to realize the following things. First, input the command in the bash/zsh shell, like: $ wonderful: In fact, a program named `wonderful:' doesn't ...
1
vote
1answer
434 views

How to prevent I/O hiccup caused by single process?

I'm looking for a way to prevent single process from slowing whole desktop system (ubuntu 11) by massive disk I/O. Is there any tool that would allow to limit disk operations rate per process or even ...
-1
votes
2answers
130 views

Making the most out of an old laptop for home improvement [closed]

My old Compaq laptop's (circa 2005) been lying around useless for the longest time so last week I decided to make a Linux box out of it. So far, I have set it up to provide the following services, ...
0
votes
1answer
906 views

How to get partition's free space in a linux machine

I have to get harddisk's free space available from 7 Windows 2008 servers and 4 Linux machines. For windows machines I wrote a tiny .Net Program. This will get details from all windows machines. In ...
0
votes
1answer
521 views

Cron job mail change sender address

I have cron jobs setup in my website and they do pretty well but my problem is that the output sent as email by these cron jobs are delivered with 'from name' as Cron Daemon. Please is there any way I ...
0
votes
1answer
65 views

.htaccess not running?

I am new to linux administration and I am trying to restrict the outside world from accessing files in my /var/www folder. I have done my research and found that .htaccess and .htpasswd was a good ...
0
votes
2answers
877 views

Run windows bat remotely file from Linux over ssh

It is possible? Cygwin is installed on the windows environment. I connect to windows environment over ssh with follow command: ssh user@ip /cygdriver/c/run.bat. After introducing the password the ...
1
vote
0answers
200 views

Ant error after installing NetBeans 7.3 in Lubuntu

I have NetBeans 7.01 from Debian repository - all works. I have problem with NetBeans 7.3 from official site (installed at the same machine) - I can't compile anything: ERROR - Ant is ...
0
votes
2answers
817 views

type of OS for Linux mint 14 Nadia in Oracle Virtual Box? [closed]

I have been unable to create a VM for Linux Mint. Which type of OS should I use to create a Mint VM? Specs I have Linux Mint, Mate and Cinnamon 32 bit ISO's. I run Windows XP SP 3 with 2 GB RAM.
0
votes
2answers
1k views

Cannot Create new user account in linux mint Nadia 14

I'm trying to create new user account in linux mint nadia 14. But the problem is i dont know how to do this. Previously I was a windows user. I were trying many ways. sudo useradd user cat ...
2
votes
2answers
825 views

How can I give an already running process root permissions?

I'd like to give an already running process sudo permissions so that it can make certain system calls. Is this possible?
0
votes
0answers
871 views

Linux recognize only partial memory

I tried different linux distributions (Ubuntu 12.10 Gnome Remix, Fedora 18, Bridge Linux) on my new laptop but all of them have a problem with memory. My laptop has 4 GB memory but Ubuntu recognises ...
1
vote
2answers
301 views

I have compiled the 3.8.2 kernel and the fan doesn't stop after resume from suspend

Kernel config for HP 6730b notebook I can't figure out what I did that's causing this issue. This is xubuntu latest version 12.04.02 LTS Link for kernel config: http://pastebin.com/AuYWdNDR Any ...
2
votes
2answers
2k views

Linux command: find files and run command on them

How do I manage to find all files in a directory and subdirectories and run a command on them? For example, find . -type f -name "*.txt" finds all txt files and: find . -type f -name "*.txt" | ...
0
votes
2answers
470 views

Using CEC to turn on and off TV

I am working on a project where we need a monitor that can be turned on and off automatically. For this to happen I thought of using a linux box (more specific a Raspberry Pi) with a HDMI-CEC ...