A family of Unix-like 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

1
vote
1answer
3k 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
2k 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
1k 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
404 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
485 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 ...
2
votes
0answers
615 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
4k 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
264 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
172 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
287 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 192.168.64....
0
votes
2answers
112 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 ...
-1
votes
1answer
6k 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
287 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
3k 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
789 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
466 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
3k 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
183 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
532 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
212 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
11k 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 or ...
0
votes
1answer
4k 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
414 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
410 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
773 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
181 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
274 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
677 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
137 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
992 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 ...
1
vote
2answers
905 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
75 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
2k 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
218 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
925 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 /etc/...
2
votes
2answers
1k 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
1k 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
317 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
5k 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
712 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 ...
0
votes
0answers
675 views

FileZilla and Putty - Trouble connecting to a remote server

I am able to connect to a Linux server using Putty via SSH and port 22. About a week ago, I was also able to connect to this server using File Zilla with the same credentials via selecting "SFTP - SSH ...
0
votes
1answer
368 views

Creating a custom Debian LiveCD

How do I go about creating a custom Debian LiveCD with the following software applications installed and ready to use upon boot? TrueCrypt DropBox Chromium I have seen some online tools to do this, ...
0
votes
1answer
253 views

how to dd capture partitions of a VMware Player VM

I have a Linux VM that runs in VMware Player. It has /dev/sda1 mounted as /boot and /dev/sda2 mounted as /. I want to use dd to capture both partitions. I now know from the answer to this post that ...
0
votes
1answer
216 views

unix_chkpw run before access.conf via pam - security risk

I have RHEL 6.3 systems that have PAM's access.conf correctly configured and running. However, it seems in a less than ideal state, after analysis of a root-hack attempt, and I'm wondering if there's ...
9
votes
4answers
8k views

How to determine the socket connection up time on Linux

I can verify that the connection is up: $ netstat -tn | grep "192.168.2.110" tcp 0 0 192.168.2.100:10444 192.168.2.110:52639 ESTABLISHED is there a way to check how long this tcp port ...
0
votes
1answer
17k views

Installing Linux/Ubuntu on XBOX 360 [closed]

Is it possible to change the XBOX 360 operating system to any popular flavor of Linux? I recently read it was possible to do this but the XBOX 360 seems to have barriers to prevent people from doing ...