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
28 views

Search for file in drive without filesystem and partitions

I have a drive without any file system or partitions available. I copy there file with dd command. Is there a program which can search such drive for file headers or something like this and thus ...
0
votes
0answers
49 views

How can I prevent my USB mouse to interfere with standby, on Linux?

I am using RHEL workstation. My USB mouse interferes with standby - if I press the sleep button, the computer tries to standby, but instantly wakes up. If I remove the USB mouse, standby works. ...
0
votes
0answers
31 views

Are these partitions correct?

I have a 24GB SSD and 500GB HDD drives. I wanted to store the boot loader, boot code and swap on the SSD, whilst storing everything else on my HDD. Below is the output of the lsblk command. Can ...
2
votes
1answer
3k views

values set in limits.conf are not working

I set some values in /etc/security/limits.conf as below: * hard stack 204800 * hard nofile 8192 Then rebooted the server. Now the ulimit command still lists some old/default values: # ...
-1
votes
1answer
59 views

simple priveleges/chmod setup doesn't work

here is the directory listing: drwxrwSr--. 31 storage storage 4096 Nov 20 23:12 storage id returns uid=501(peter) gid=501(peter) groups=501(peter),504(office),505(www),506(storage),507(media) ...
1
vote
2answers
47 views

Uninstalling software on linux

I want to uninstalll software installed after compiling packages with make and installed with make install I am using Linux Mint Debian i know that the software installed using apt can be ...
0
votes
3answers
45 views

Almost-flattening a directory structure

I have a bunch of directories in a structure like this: -Music -Artist1 -Album1 -Album2 -Artist2 -Album1 -Album3 -Artist3 -Album2 -Album4 All the directories will ...
0
votes
1answer
375 views

Use Linux dd to copy and read file at specified location

I want to use the dd command to write one file at any location of the hard drive and then to read the same file from this location. I need to be independent on any file system or partitioning. It ...
1
vote
2answers
2k views

Linux: What is the best way to copy from a damaged HD, only the files that can be completely read?

I am copying from a damaged HDD (not SDD) where about 15% files would cause I/O error. I only want the rest of the 85% complete files, and get a list of damanged files. How to do that? cp stops on ...
0
votes
1answer
963 views

Recursively copy and rename to replace spaces with underscore

I have a directory with 400 sub-directories each containing several hundred files many with filenames that contain spaces. I need to copy all of the files with spaces in the filenames, resulting two ...
1
vote
1answer
272 views

Linux timeout if no output

In my script I want to execute a command which connects to a remote server and may take very long time due to a bad network connection. So I want it to time out and be killed after 60 seconds. ...
0
votes
1answer
265 views

Why was I able to connect with SSH2 to an SFTP server with gFTP?

I'm learning Linux and on Windows when I used Filezilla I would connect using the sftp protocol. I noticed gFTP didn't have the option so I tried SSH2 and set the port to 22 and it worked. Why did ...
0
votes
2answers
193 views

Temporary operating system from floppy disk

I run Windows on my computer (which has a floppy disk drive and usb ports), and I want to try out a linux operating system. If I modify the BIOS to load from the floppy or usb first which contains ...
0
votes
1answer
217 views

How to determine which partition has badblocks?

I have the following device: Model Family: Western Digital Caviar Green (AF) Device Model: WDC WD15EARS-00MVWB0 Serial Number: WD-WCAZA3607921 LU WWN Device Id: 5 0014ee 2b01eac3e Firmware ...
0
votes
1answer
718 views

iptables stupid error (iptables -A INPUT -j ACCEPT)

[root@router ~]# iptables -A INPUT -j ACCEPT iptables: No chain/target/match by that name. How is that possible? I recompiled the kernel (3.11.8) and updated iptables to 1.4.16. The strage thing is ...
4
votes
2answers
444 views

Seamlessly transition from wired to wireless in Linux

I have a Linux laptop running Ubuntu 12.04. I would like to be able to seamlessly transition from using eth0 to wlan0. When I say "seamlessly", I would like, for example, to be on wifi only with an ...
2
votes
2answers
3k views

Unable to write files on CentOS

I have a VPS running on CentOS 6 and apache2 as webserver. I have several PHP scripts running in my server, and everything goes smooth, except to file writing. For some reason, my PHP scripts are ...
0
votes
1answer
90 views

Time management/computer usage tool for Linux [closed]

I've just spent a few minutes googling for some kind of Linux program/daemon that'll collect information from your computer (such as average CPU load, memory usage, what times the computer is most ...
1
vote
0answers
449 views

Linux mint 15 mate boot screen change

Recently my boot up altered (HP Desktop) & now includes a screen that shows "ubuntu 15" showing pulsing 5 dots while it's loading. Then screen changes to my usual expected Mint tty1 boot screen. ...
0
votes
0answers
216 views

iptables messing up Tomcat?

I encountered the following problem(s) using Tomcat 7 with iptables on. 1) Namely, there's this Tomcat 7 instance that I run on server-1 (directly exposed), and this Tomcat instance hosts a REST ...
3
votes
1answer
683 views

How does Vagrant accomplish such small box file sizes?

I've created a Vagrant base image file for Ubuntu Linux Precise Pangolin 32-bit with the following command: vagrant box add precise32 http://files.vagrantup.com/precise32.box This precise32.box ...
1
vote
1answer
278 views

How to make my Alt_R function as another Control on Linux

I want to use my right Alt as another Control key to use with Emacs. I tried following (with modifications) this tutorial: ...
-1
votes
1answer
190 views

Create USB Bootable windows sticked to backtrack

I have a Backtrack 5 R3 Bootable USB, and I would like to make it also Windows 7 bootable.. Then I can choose when my USB plugged on in a dual boot Backtrack or windows 7. Is it possible ? Then how ...
1
vote
0answers
110 views

See a list of users logged in using LDAP

I helped set up a computer lab with a LDAP setup to share home folders and to use for user login. The server running ldap is centos and the computers connecting to it are linux mint. People can get ...
0
votes
2answers
220 views

Switching from Windows to Fedora [closed]

I'm planning to switch from Windows to Fedora when my new disk arrives later today, and I have a question about disk partitioning. What's the smartest way to partition a disk? Does the partition ...
1
vote
0answers
1k views

connect to a serial device via TCP socket

My setup is this: serial device ttyUSB0 connected to laptop A software that opens TCP socket to listen and write to, also runs on laptop A (linux) My goal is to pipe data from/to serial device ...
0
votes
0answers
34 views

PERL executable size getting reduced automatically after few days

On one of my RHEL 5 machine, there is one PERL executable which runs under cronjob at frequent intervals of time. The strange thing observed is PERL executable size is getting reduced automatically ...
1
vote
2answers
6k views

Trouble mounting NTFS disk on Linux

I'm trying to mount an NTFS disk on Linux Mint. It seems windows wasn't done with this volume before it was turned off. Is there a way to fix this error without putting my drive in a windows machine? ...
0
votes
0answers
605 views

Clonezilla breaks grub2 in fedora

I have Clonezilla (version 3.5.2-drbl1) packed with DRBL on my Ubuntu server. The image that I'm trying to deploy is a Windows 7 / Fedora 17 dual-booted image that uses Grub2 as a bootloader. Saving ...
0
votes
0answers
40 views

list all the information of a process under commandline in osx or linux

Is there any command to list all the information associated with a process, include all parameters in PS command, open files and ports and so on? Thanks!
2
votes
2answers
4k views

Copy new files from a monitored folder to another in debian

I have directory a and directory b. Directory a has new files and folders copied to it periodically. I would like to monitor folder a for those new files and automatically copy them to folder b. ...
1
vote
1answer
476 views

keepalive type and frequency in ffmpeg

My company has a bunch of IP cameras that we distribute - specifically Grandstream - and the manufacturer has changed their firmware. The normal keepalive that ffmpeg uses for the rtsp streams ( ...
0
votes
0answers
327 views

Unable to recover deleted file using icat

I am trying to recover a deleted file using icat, but I don't get any output. The partition looks like this $ fls -o 59472 -r w3_image.dd d/d 11: lost+found r/r 12: msg r/r * 13: msg.txt d/d 2529: ...
0
votes
1answer
102 views

scheduling a script that accepts one argument in crontab

i am trying to schedule a shell script that runs for every 10 mins, and the script accepts some argument.. i have done it like this 0,10,20,30,40,50 * * * * sh ...
0
votes
1answer
234 views

Wake on LAN through PHY and unicast only works in the first ~30 seconds after pm-suspend

I'm having some trouble with Wake on LAN through PHY and unicast. I'm able to wake the system by pinging or sshing the shut down machine, but only within the first ~30 seconds. Why's that, what could ...
3
votes
2answers
4k views

permission denied on authorized_key file

On fedora 16 I copied my public key to /home/user/.ssh/authorized_keys file user comes from ldap. But could not authenticate over ssh without password for this user. It works for root. strace on ...
0
votes
0answers
179 views

How I can enable ADSL conection on Fedora 18 and on Debian 7.2?

About Fedora 18: The command adsl-setup doesn't exist, and how I cannot any connection established I can't install any package. Debian 7: The method using the pppoeconf doesn't work, my media of ...
1
vote
1answer
5k views

Why is USB stick discouraged as boot medium for openmediavault

I have read at http://wiki.openmediavault.org/index.php?title=Installation that USB sticks are not recommended as boot devices. I thought that such a systems are optimized to limit system disk ...
0
votes
1answer
254 views

bash: syntax error near unexpected token `ex25'

all I have tried to make a program from 'learn python the hard way'. it's exercise 25. in the extra credit it tells me to go help(ex25), but when I type that in, I get this on linux mint 15 terminal: ...
0
votes
1answer
12k views

Add an image as watermark to a video file with ffmpeg

I would like to add a text to a video file with FFMPEG. While I was able to do this with plain text $FFMPEG -y -i $SOURCE \ -vf ...
0
votes
0answers
273 views

Error installing 64 bit Windows on VirtualBox

I've installed a Headless VirtualBox on my Centos 6.4 x86_64 box, and installed phpvirtualbox. I've inserted my Windows 7 64bit disk in the CD drive of the physical host, and created a virtual ...
0
votes
3answers
9k views

How to find out total NIC cards and total available physical ports in linux

I need to find out how many total physical ports my server has, and how many of them are in use and how many free. Can you kindly help how to find it: This is what i find from dmidecode output: ...
0
votes
1answer
100 views

copy root.disk to another computer and change grub.cfg

I installed ubuntu 10.10 on a new laptop and copied the old root.disk of ubuntu 10.10 from old laptop to this new laptop, and booted it so I had to make changes to the grub menu using "e". That is ...
0
votes
1answer
155 views

How to make a pc act as a router on some port

I have a linux server in my lab(hereafter called pc1), and I have a windows pc2 where I have a game server running on. But since it's a private network, and the only pc that the internet can access is ...
0
votes
1answer
2k views

Can't Boot Windows after BackTrack 5 install

My computer won't allow me to boot into Windows 7 after I installed BackTrack 5 (A Linux Distro). I don't believe this is a boot sector problem because, as you will see in the video, the Windows ...
2
votes
1answer
90 views

How do I create an account that can only use the ls and cd commands?

How do I create an account on a CentOS box such that the user can only use the cd and ls commands but has full rights to use those commands everywhere on the filesystem? The user must be able to view ...
0
votes
1answer
2k views

Do Linux devices require user permissions? If so, how are they added?

Trying to create a new virtual server using VirtualBox and phpVirtualBox on a physical Centos box. Installed the software and all seems good. Put the operating disk in the CD drive of the physical ...
6
votes
1answer
884 views

Where can I find a full list of wpa-* options for the interfaces file?

I'm looking for an exhaustive list of wpa-* options that can be used in the /etc/network/interfaces file. The Debian wiki has a how-to-use page here: https://wiki.debian.org/WiFi/HowToUse, which ...
1
vote
1answer
201 views

How to chmod file I have access to, but I'm not the owner of?

First, why can't I do this? % id -un me % ls -l -rw-rw-r--+ bob bob 100 today foo % chmod +x foo chmod: changing permissions of `foo': Operation not permitted % getfacl foo # file: foo # owner: bob # ...
6
votes
1answer
142 views

sshfs abrupt disconnection

I am doing a lot of coding over SSH and so I have decided to mount the file system via sshfs: user@remote /home/user/mnt fuse.sshfs noauto,_netdev,users,idmap=user,reconnect 0 0 If my internet ...