1
vote
2answers
2k views

Tell mplayer to prevent the screensaver from kicking in while playing

I know mplayer has some heartbeat setting but I don't recall what it is, could anyone tell me? another one of those annoying things that used to just work and somewhere along the line stopped being ...
1
vote
2answers
654 views

Backup system image.

Is it possible to create an image backup of my installed linuxmint. I would like to be able to have a restore image to reinstall Mint as I do with windoes system image backup (for instance). In ...
1
vote
3answers
5k views

New local user can't login to vsftpd

I'm a bit puzzled with this one and could really use some help. We have a CentOS 6 box running VSFTPD as a dropbox for our customers. Each customer gets a local user and is chrooted to their home ...
1
vote
1answer
44 views

Images and Stylesheets not loading from squid due to a bad certificate?

I just setup Gate Sentry on a Raspberry PI 3, and it contains Squid 3 as part of it's proxy chain. It also utilizes ssl bump and certain websites that use SSL (usually big ones, like Facebook and ...
1
vote
0answers
166 views

Howto configure linux router to allow clients to use maximum bandwidth?

The problem is that I'm always limited on the final client machine to about 1/3 (one third,about 200/300kb) of the internet hotspot bandwidth when testing download speed with wget. I have configured ...
1
vote
1answer
395 views

what is a Kernel? [closed]

I'm learning Unix from the Unix Architecture book by Maurice J Bach. So if my question seems too stupid, please do bear with it. I read a few related questions but I would like a more simple ...
1
vote
1answer
7k views

Configure power button to shutdown on Debian

I use Debian and I want my power button to shutdown the PC. Currently it sleeps, when I press it. Is there any command for it to make it shutdown?
1
vote
1answer
739 views

Does an in-kernel firewall sit between the network access layer and Internet layer?

This question is a follow-up to my previous question. Logic for me to says that an in-kernel firewall sits between the network access layer and the Internet layer, because it needs to have access to ...
1
vote
2answers
289 views

How does 'find -exec' pass file names with spaces?

If I have a directory containing some files whose names have spaces, e.g. $ ls -1 dir1 file 1 file 2 file 3 I can successfully copy all of them to another directory like this: $ find dir1 -...
1
vote
4answers
4k views

What is X Window System? [closed]

I am new to the Linux environment and really got confused with “X Window system”. So can anyone please tell me what X Window System is and what it is used for?
1
vote
1answer
2k views

__modver_version_show undefined error during make

Platform: Ubuntu 11.10 64bit Kernel to be compiled: 3.2.1 Error after make: ERROR: "__modver_version_show" [drivers/staging/rts5139/rts5139.ko] undefined! To solve this I copied the .config file of ...
1
vote
1answer
963 views

Can't boot after grub update on Arch

I did an update yesterday and didn't reboot my laptop until I had a power failure. Upon rebooting I find that I have no hard drive (or so it claims). I've tried booting into an arch live disk and I ...
1
vote
0answers
26 views

Restoring VG configuration from recovered drive

Had to reinstall CentOS on a server with three RAID 1 arrays. I installed the OS on sda (300g), and left sdb and sdc alone (they were not formatted or otherwise fiddled with). The OS is up but I'...
1
vote
2answers
76 views

Is it possible to play the VIDEO_TS DVD folder with a generic command (mpv)?

I want to use a command for mpv video player that would play the VIDEO_TS folder (which in the case of MPV means starting directly the main video of the DVD. The main advantage of this is that in ...
1
vote
1answer
41 views

How can I edit my bash script to account for whitespace entries? [duplicate]

I made a script to automate ffmpeg conversion from mkv > m4v > open the m4v in Subler.app to import the metadata manually, at which point I'll move the file into my iTunes library. I use iTunes ...
1
vote
2answers
4k views

BackTrack 5 gui won't load after Installation

I Have installed BackTrack 5. It works fine on a live bootable USB, but once I installed a gui it is not loading. Using the command shell, it works fine, but when I type startx in root login, a black ...
1
vote
2answers
972 views

Linux Mint 17 Cinnamon: how can I run an application prior to the login screen?

I'd like to run an app (Python Tk, say) prior to the login screen on LMC 17. I notice that there's plenty of Q&A on doing this on Ubuntu (here, for eg), but couldn't really find anything relevant ...
1
vote
1answer
1k views

Safe to change owner of OS X system folders?

I'm trying to get Homebrew to work. That program's diagnosis tool gives me these suggestions: You should probably chown /usr/local/etc ... You should probably chown them: /usr/local/...
1
vote
2answers
10k views

How can I set up Virtual Hosts in Centos7?

I am trying to set up virtual hosts in Centos7. I followed this guide: http://twohlix.com/2011/05/setting-up-apache-virtual-hosts-on-centos/ however I keep getting the following error: Job for ...
1
vote
2answers
115 views

Compare and print data from different text files to one in Shell

How can I compare and print data from different text files to one in Shell. I have captures NAS details of three different boxes using SSH, now I need to combine all the three text files to one file ...
1
vote
2answers
242 views

Why we can not see a single hyphen from $0 on a login shell invoked with `--login` option?

man bash says, A login shell is one whose first character of argument zero is a -, or one started with the --login option. When we invoke a terminal such as mintty - on Cygwin, we can see a ...
1
vote
1answer
919 views

How to use Vagrant provisioning to install a package without download?

The title says it all. I'm using Vagrant boxes for several purposes, and in most cases the prepared boxes I can download are totally sufficient. However, sometimes I need one or a few additional ...
1
vote
2answers
14k views

mounting iso image: message “block device is write protected, mounting read-only”! [duplicate]

I want to delete a few files from my iso image on hard disk. So, I did: ravbholua@ravbholua-Aspire-5315:/media/ravbholua/f34890dd-20d2-4d78-92c9-1de7c0957f00$ sudo mount -o loop check_bholua99.iso /...
1
vote
1answer
1k views

Reserve Ports for modem

I have a modem with 16 ports using for sending SMS. When it's connected to my Linux machine, I get 16 ports from ttyUSB0 to ttyUSB15. Currently if I remove this modem and attached another it,I get it ...
1
vote
2answers
69 views

How to open Audio CD in Qmmp player?

This should be possible, given that the latest Qmmp player has a CD plugin with options regarding CD tracks info - both CD-Text and CDDB. But I see no menu option like 'Open CD' etc. Is it there? ...
1
vote
1answer
2k views

Running program as root without using sudo with normal user account

Is there a way to force to run program as root (with normal user) when there's no sudo on the machine (and can't be added)?
1
vote
2answers
90 views

Mate menu (Linux Mint 17) searches files when pressing enter - can this be changed?

Example: I press Supper button: menu opens. I write "fir": it shows Firefox, just like any launcher. I press Enter, it starts searching the whole system for files named "fir". I can avoid this by ...
1
vote
3answers
4k views

Run Linux “motion” app as user

I'm trying to run Motion app on a Linux box. For various security reasons, I'd rather run it as regular user than sudo. However, when I run "service motion start" without the sudo in front, it says: ...
1
vote
1answer
155 views

How to prevent wpa_supplicant from connecting to a network, while allowing other networks

Based on this answer I try to configure wpa_supplicant as follows: network={ ssid="known_to_be_bad" key_mgmt=NONE disabled=1 } network={ key_mgmt=NONE priority=...
1
vote
2answers
267 views

Cloning USB drive in VMware with partclone

I created a virtual machine in VMware as follows: SCSI HDD 1 GB (Main for short) SCSI HDD 0.8 GB (UClone for short) SCSI HDD 4 GB as a physically plugged UFD (Uphys for short) Arch Linux ISO as ...
1
vote
1answer
725 views

Creating separate volume for /var/log/ and /var/log/audit/

I need to migrate /var/log/ and /var/log/audit to separate volumes. Currently the entire /var/ directory is on a logical volume with ample space (45G). I understand how to shrink and create new ...
1
vote
2answers
1k views

How to get my USB stick to auto-mount?

I used to be able to have my USB stick auto-mount when I plugged it in, on my GNOME desktop. After some fiddling with my system, it doesn't happen anymore. I now have to resort to doing this using the ...
1
vote
1answer
624 views

Temporarily use something else as home directory

If it is possible, should be pretty basic, but I am puzzled how to ask Google the right question (or it is impossible). Lets say we have /home/user/ ...conf /home/user/candidate/ ...conf We have ...
1
vote
1answer
10k views

How would you install the RTS5139 Card Reader driver for use on Fedora 19

Is it possible to install the rts5139 driver in Fedora 19 3.11.8-200.fc19.i686.PAE kernel ? I have a Lenovo G570 laptop, on which I run Fedora 19 (3.11.8-200.fc19.i686.PAE kernel) on one hard disk, ...
1
vote
1answer
64 views

Using “--ivs” is a good way for making a smaller output?

airodump-ng --ivs --channel 1 --write output --bssid VV:II:CC:TT:II:MM mon0 https://en.wikipedia.org/wiki/Initialization_vector Question: If we use "--ivs" to make smaller outputs, will we be still ...
1
vote
1answer
311 views

Bash script (with a java command) does not exit (script 2)

I start a bash script (synchronously from java as glassfish user) which triggers another bash script: Script 1 executed from java: #!/bin/bash #Start script2 as myUser on myUser desktop echo ...
1
vote
2answers
914 views

What's the best way to have a 169.254.169.254 address local to my laptop?

I want to emulate the Amazon EC2 metadata service on my local system for testing. In EC2, this runs on 169.254.169.254. I understand that this is the designated range for pseudorandom local addresses ...
1
vote
3answers
100 views

Search word preceded by Name in Sed

This thread is motivated by the arithmetic command found in the link of this thread here in Sed. So I would like to do backward arithmetic in Sed. Data Mikael symptom David symptom hello symptom ...
1
vote
1answer
638 views

rsync and xfr#1, to-chk=0/1, what do they mean?

I do stuff such as :- $ copy debian-8.2.0-amd64-DVD-1.iso /media/shirish/4719-38E5/ Copy here is an alias for :- $ alias copy alias copy='rsync --progress -ravz' When it does the command it ...
1
vote
1answer
123 views

what is the easiest way to configure serial port on Linux?

In Windows command prompt to configure a serial port, I can simple use: mode com1: 9600,n,8,1 or to read the configuration: mode com1: Are there similar commands in Linux? What would be the ...
1
vote
2answers
205 views

OpenVPN : protect your clients key/cert/conf from being stolen?

I have configured an OpenVPN install. Mode: multiclients 1server. Clients are raspberries. I note how easy it is to steal a rasp, and look in HDD to get key+cert+conf. Copy it on your laptop, and ...
1
vote
1answer
2k views

Install missing R packages when running in bash mode

Frequently I am running R scripts in bash mode. My script is called 981_conduct_regression.R. In this script, I call required packages with if(!require(<package>)){ install.packages("<...
1
vote
1answer
699 views

Kill and resume a rsnapshot backup properly

Suppose that after starting a rsnapshot backup on my laptop I notice that it will take too long time and that I have to shutdown the laptop in a few minutes. Is there a way to quit rsnapshot without ...
1
vote
1answer
709 views

Automatic scheduled backup of website (/var/www and MySQL dump)

I've been trying to set up a scheduled backup for my server but i can't seem to get it working. I need to copy the contents of /var/www into a compressed file (tar?) in a folder in my home directory ...
1
vote
2answers
2k views

Fedora 19 freezes after login

I have been using F19 for a couple of days until I've decided to do an yum update. Everything went well but after reboot I can't get past the login screen anymore. I enter my username/password, then ...
1
vote
1answer
268 views

ext4 to btrfs conversion: how many times the whole volume will be read during the process?

I want to convert the 3TB 80% full ext4 block device into btrfs and I want to estimate the time it will take. I understand that this process is disk-bound rather then cpu- or memory-bound. So can ...
1
vote
0answers
536 views

How to add my own created certificate authority to system trusted repositories

I was told that I can add my created CA to trusted repositories/authorities in my system instead of adding it from browser and configuring in in ssl.conf. Yet I can't find anything similar on the web....
1
vote
4answers
138 views

How to add a new text line at the first line of a file? [duplicate]

File: TABLE1 1234 9555 87676 2344 Expected output: Description of the following table: TABLE1 1234 9555 87676 2344
1
vote
1answer
209 views

Trouble understanding the Debian bug reporting system

I am currently experiencing this bug, except that I'm using the Wheezy/testing netinstaller. Strangely, I used the netinst .iso a few months ago, and everything was fine. So it almost seems as if the ...
1
vote
1answer
1k views

How can I create an encrypted, file-system–agnostic, mountable volume?

At work, we have an iMac (running OS X) that shares a partitioned hard drive over the network. I'd like to back up to my partition from my Linux machine. I've attempted connecting via cifs, then ...

15 30 50 per page