2
votes
2answers
7k views

How do I create a separate partition for my /home directory?

I was reading http://docs.fedoraproject.org/en-US/Fedora/14/html/Installation_Guide/s1-diskpartitioning-x86.html, but it's not clear to me what this means. What's an LVM Volume Group versus a Hard ...
2
votes
1answer
716 views

How to make system automatically mount encrypted device in Linux

When I plug my external storage in , I need to automatically mount it as an encrypted device. How do I make this happen ?
2
votes
1answer
362 views

How does one find and replace text in all open files with LibreOffice?

How does one find and replace text in all open files with LibreOffice?
2
votes
2answers
3k views

How does one find and replace text in all open files with gedit?

How does one find and replace text in all open files with gedit?
2
votes
1answer
725 views

How to assign correct permissions to both webserver and svn?

I've an issue with files ownerships in unix. I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php. However I'm now using ...
2
votes
4answers
2k views

Anacron job complains “Gtk-WARNING **: cannot open display”

I'm trying to make a simple weekly Anacron job that backs up my computer if I click yes on the dialog. The script I wrote works fine if run manually, but when Anacron runs it, nothing happens and I ...
2
votes
1answer
400 views

Drive was unable to assemble into the array

I ran mdadm -A /dev/md0 /dev/sda1 /dev/sdb1 Only /dev/sdb1 was loaded into the array though. I have a few more arrays on the same two drives too. Each time the partition on sda failed. dmesg told ...
2
votes
1answer
852 views

How to remove GNOME to run only Compiz

Regarding this question, I really like the idea of running Compiz without a desktop environment. I currently have Ubuntu 10.04 (with GNOME and Compiz) and want to give it a try. Now how can I ...
2
votes
1answer
5k views

Accessing the iPhone file system via Linux/Unix

My old iPhone is semi-bricked. It turns off after a few minutes and doesn't get past the load screen. It has important data on it which wasn't backed up. I'm trying to access the hard-drive's ...
1
vote
1answer
22 views

Convert a non-boot single HDD to RAID 1 without deleting it

I bought a second HDD identical size as the one I already have. My goal is to add it to the existing one as a mirror (RAID 1). But I don't have enough space on a system SSD to move data there. So I ...
1
vote
3answers
65 views

Predefined group ids across Linux distros?

In order to successfully implement w/r access via ACL for external storage with ext4 fs I need to assign default group id for files on storage. LSB_5.0.0 say: This specification makes no attempt to ...
1
vote
1answer
66 views

Grub2 and windows10 woes

The relevant windows drive install is: Disk /dev/sde: 465.8 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O ...
1
vote
1answer
56 views

X11 authentication is not working in `sudo sux / sudo su`, but works in `sux / su.` Why?

I have a vnc session and I can access X11 just by doing su - user, for other user, without the need of sux. Also, when I am trying to switch to user, using sudo sux - user or sudo su - user, I can't ...
1
vote
1answer
120 views

Bash FUNCNAME equivalent in Dash

Bash can print the current function name: $ bash -c 'g(){ echo $FUNCNAME; }; g' g However Dash cannot use FUNCNAME: $ dash -c 'g(){ echo $FUNCNAME; }; g' It is possible to access the current ...
1
vote
2answers
54 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
43 views

Mate menu 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
2answers
49 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
84 views

Deadbeef audio player does not retrieve online (freedb, CDDB) info about CD tracks

Many Linux players (like Audacious, Banshee, Amarok, Exaile) can easily access audio CDs tracks info (names and other metadata) but Deadbeef cannot, although it has a cdda plugin that should do just ...
1
vote
2answers
122 views

Cracking root user: Automating logging into root using “su” from nonroot user

I want to write a script that allows me to pass a password to the su command. The reason for this is to automate the process of logging into root from nonroot account. From my basic understanding of ...
1
vote
1answer
397 views

Redirect Output of Pocketsphinx_continuous to a file

I have an ugly command: pocketsphinx_continuous -samprate 48000 -nfft 2048 -hmm /usr/local/share/pocketsphinx/model/en-us/en-us -lm 9745.lm -dict 9745.dic -inmic yes Breakdown: It listens for any ...
1
vote
1answer
119 views

How to encrypt Linux (Debian 8) post-installation and what are the consequences?

I have certain folders in my Linux partition which I need to make sure no one can access unless the log in with my login password (or root one). I know that during installation I can encrypt with ...
1
vote
3answers
2k views

How to disable useless “audit success” log entries in dmesg

Short version: How to disable audit messages (dmesg) on a Fedora system? A Fedora system keeps logging "audit: success" messages in dmesg - in such an extreme way that dmesg has become unusable ...
1
vote
4answers
113 views

Find and delete all same files (by name) between 2 directories

I want to find all files in dir1 having corresponding same file names in dir2, and delete them from dir1. For example: dir1: first.txt second.txt dir2: third.txt first.txt So I want to remove from ...
1
vote
1answer
51 views

How to get out of TTY and into X session [closed]

I have a computer with Linux installed in it and when I log in there is only what seems to be code. I had it working normal before, there were icons on the desktop and such, just like a windows ...
1
vote
1answer
590 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
874 views

Plank dock problem in Manjaro Fluxbox 15.09

I would like to be able to use Docky or Plank in Manjaro Fluxbox, but they do not work well. A large band of shadow appears close to the dock. This shadow is there even when the dock is hidden. This ...
1
vote
0answers
23 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 ...
1
vote
1answer
128 views

fork() and exec() confusion

As when we do fork on current process, our process as parent process generates child process with same characteristics but different process IDs. So after that, when we do exec() in our child process, ...
1
vote
1answer
548 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
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
2k views

How do I install iwconfig without yum?

I am using this tutorial to try to set up wireless on a new CentOS 7 installation that is not connected to the internet. However, when I type iwconfig into the terminal, it replies with -bash: ...
1
vote
0answers
37 views

How to find blockage for Virtual Terminal switching?

I am stuck on virtual terminal 14. Starting some SDL-software brought me there. Now I cannot go anywhere else. Every "chvt" freezes (at the "VT_WAITACTIVE" ioctl) if it is not chvt 14 which succeeds. ...
1
vote
1answer
623 views

Hardware OpenGL rendering in MATLAB

I am unable to get hardware based OpenGL rendering to work in MATLAB R2015a or R2014b. Prior to R2014b, and the rewrite of the MATLAB graphics stack, everything worked fine. From MATLAB >> ...
1
vote
1answer
190 views

How to prevent GNU screen from clearing the screen when terminating?

When I run $ screen id all I can see is [screen is terminating] message in the top of the screen. What I want to see is the output of the id command and the [screen is terminating] message. I can ...
1
vote
1answer
133 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 ...
1
vote
2answers
2k views

Open CSV File And Go Straight To Spreadsheet

Part of my software issues various commands to open and view different file types. For instance I use atril for PDFs and eom for PNGs. However I have a slight problem with CSV files. I can open them ...
1
vote
1answer
293 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
4answers
299 views

Set, backup and restore colors in the terminal

I use this program to display all color available in the terminal. That waht I get: This program doesn't show me colors below 100. Why? Is there a way to display them. Is the are way to change ...
1
vote
1answer
248 views

Debian - disabling use mirror on preseed.cfg

I have created a preseed automated installation on my Debian jessie 8, but after installing the base packages, it returns error message error it can not use the mirror package, please enter ...
1
vote
3answers
214 views

To Rsync files where permission denied

I want to find those files which I cannot copy to another location such that I could do Rsync. I have an external HDD and my system´s HDD. The external HDD has files which my system is missing. I ...
1
vote
3answers
85 views

Random sampling and outputting the largest value

I have a fairly large data set ~500 million rows. The data set looks like below. Col 1 is float number, col 2 is mac id(device id) 1616.93,ac:22:0b:a6:22:c3 2872.32,c0:bd:d1:36:bb:49 ...
1
vote
6answers
112 views

How can I pass an environment variable to a script?

Okay, I can display an environmental variable from the commandline: echo $COLUMNS And get a response. But I can't execute that from within a shell script, I get nothing. So, there must be a way to ...
1
vote
0answers
153 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
2answers
552 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
2answers
112 views

Where should Steam install game data on linux, to be FHS-compliant?

I want to create a folder on my linux system for Steam to download game data to. I am doing this so the data is shared between users, and games do not have to be downloaded multiple times. ...
1
vote
1answer
2k views

Telnetting the Local port not working but trying the ip working

My application listens on port 8180. When I am trying to connect to port 8180 locally. Connection got refused. But when I am trying to connect to port with ip . I am able to connect. ...
1
vote
3answers
93 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
4k views

Configuring Apache 2.4 to permit CGI on Debian Jessie

I’m new to Sysadmin and Apache configuration. Trying to get AWStats running, but in troubleshooting have gotten to trying to run a simple Hello World (html output) script on port 8888 and have been ...
1
vote
2answers
178 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
1k views

Intel 6300 wireless card won't work on CentOS 7 - worked during install though!

I installed centos 7 on a laptop with an intel 6300 wireless card in it. During the install, the wireless card was available and I was able to connect to my lan. After the install, I don't see the ...

15 30 50 per page