0
votes
0answers
3 views

Set Ctrl+Shift as prefix in tmux

I would want to have Ctrl+Shift as prefix in tmux (because I'm trying to switch from terminator, and the majority of my shortcuts used Ctrl+Shift). I tried this in my .tmux.conf : unbind-key C-b ...
0
votes
2answers
5 views

How to set password for pdf files?

I need to put a password for my pdf. Because i gonna send my pdf file through email, and I want that if someone need to access my pdf file, then it should ask a password which i gave.. How to do that ...
0
votes
0answers
5 views

nix package manager: perl warning: Setting locale failed

Whenever I run a command for the nix package manager (e.g. nix-channel --update) I get the following warning: perl: warning: Setting locale failed. perl: warning: Please check that your locale ...
0
votes
2answers
15 views

grep and delete only the line

grep -Eri "drucken" app/views app/views/meths/_form.html.erb: <li class="hidden-phone"><a onclick="javascript: print();" class="">Methode ...
0
votes
0answers
3 views

how to troubleshoot domain name before re-pointing Nameservers

suppose I have a site: awesomefootball.com hosted on a Linux server with db etc.. For testing, I know how to pull a copy to my MacBook and set up /etc/hosts file to let me test at ...
0
votes
0answers
12 views

Bash cannot see PATH update

I am running Debian on a VM. I login to the GUI and go to Applications > Accessories > Terminal. # echo shell: /bin/bash I modified ENV_SUPATH, ENV_PATH inside of /etc/login.defs. I restarted ...
0
votes
0answers
2 views

How to change mouse hovering background in Emacs

When mouse is over a dired file line, it shows strange background regardless of the highlight-line color How Can I set the background color ?
0
votes
1answer
4 views

How to access a inet6 address from browser

I have installed a pre-built Virtual Box image on an OS X host, and started it up. It's running Ubuntu 12 and Tomcat. From within the box the adapter information only contains an inet6 address (see ...
1
vote
0answers
4 views

KDE5 Digital clock widget show a different time, than the configured

I'm using KDE 5 over Arch Linux, and the digital clock widget show a different time than the configured for kde. The widget can be configured to show a different time changing the timezone for it. But ...
0
votes
1answer
5 views

Why does tmux mess up my Ubuntu login, though it works ok once logged in for new windows?

Why, after a Ubuntu 14.04 software update, does have exec tmux in my .bashrc lead to not being able to log in (though previously it worked fine for years) and how to fix ? Investigation: I recently ...
0
votes
0answers
6 views

what is the value for setting a hostname in installation of oracle enterprise linux r6u5 should have?

I am installing oracle linux r6u5 for my personal use in vmware workstation. While going through installatio i came to a point where I have to enter hostname, format specified init is ...
0
votes
1answer
10 views

Does X mangles environment variables?

I'm starting it with startx. Before that I have PS1 in my environment: $ cat /proc/self/environ | tr '\0' '\n' | egrep '^PS' PS1=[\u@\H \w] PS3=> PS2=> PS4=+ From inside X I get: $ cat ...
0
votes
0answers
5 views

Linux Fedora +Virtual box +vagrant = problem with shared folders

My host OS:Fedora 21 x86_64 Virtual box: 4.3.20_RPMFusion r96996 vagrant: 1.7.2 I use shared folders with NFS synchronization for my projects . When vagrant try create shared folders i have ...
0
votes
0answers
5 views

Disk numbering a drive then mounting in solaris 10

I've a rescued sun v240 (2x 73Gb scsi drives). Trying my best to get onto the Solaris 10 OS. Managed to get via console lead and putty on windows machine . Managed to get cdrom-s single user (used ...
0
votes
2answers
21 views

I want to print the value from csv file dynamically

I want to print the values from properties file dynamically I am using below code but getting wrong output. testProperty.properties edmcws,edmbws,edmwt Code ...
0
votes
0answers
3 views

How to set VertRefresh without restarting X?

Suppose a second monitor is attached to a running system, and the video driver has some trouble getting this monitor's EDID to get its limits of operation. The monitor has a native resolution of ...
1
vote
1answer
16 views

Why did a recent Ubuntu 14.04 update mess up my PS1 prompt?

I recently updated my Ubuntu 14.04 using the software update. This caused some problems. Initially I couldn't open up a new terminal window due to unknown errors with my .bashrc I had to use ...
0
votes
0answers
16 views

Python function should print out something, does nothing

I wrote small script for my Raspberry Pi Project with an Adafruit 16x2 RGB LCD: def KismetScanner(): print 'Deauth Flood' monitormode = subprocess.Popen('airmon-ng start wlan0', shell=True, ...
-1
votes
2answers
20 views

When is /etc/bash.bashrc invoked?

What is this file anyway? Documentation makes no mention of it. And it's not supposed to be run automatically (version 4.3, 2 February 2014): Invoked as an interactive login shell, or with --login ...
1
vote
1answer
29 views

How to append MD5 checksum of email content in bash?

I found some lines of output missing from an auto-generated email notification that was dispatched via cron. Having confirmed that there is no AVC error, I want to find out if the integrity of my ...
0
votes
1answer
13 views

Does git no longer support automatic rebasing?

Very recently git has started merging even though I have set it to always rebase: $ git config --list | grep -F branch.autosetup branch.autosetuprebase=always $ git pull [Removed everything in the ...
0
votes
0answers
13 views

How to Export Client Certificate from Firefox for Android on non-rooted device

I had a website install a client certificate into my Firefox browser (v35.0.1) on my tablet and I want to export and backup the certificate. I've found out after the fact that Firefox on android ...
1
vote
1answer
11 views

How to list available dictionaries for hunspell?

Is there some way to list all available dictionaries in hunspell? Something like aspell dump dicts. printf | hunspell -D prints too much junk, and I want to query hunspell itself, not do something ...
0
votes
1answer
12 views

How to delete all files in a directory except some globs using Puppet?

Spell checkers unfortunately don't come packaged for regions, so after installing English, French and German dictionaries I get this huge collection: $ find /usr/share/myspell/dicts/ -name '*.dic' | ...
0
votes
1answer
6 views

Unified Patch: only use diff file

Is it possible to create a diff file that would work without having the actual files in the diff file? e.g.: I have a folder /a and a copy of a: /b. In /b I edit multiple files and create a .diff ...
2
votes
3answers
56 views

How to extract only a part of one line in grep?

I want to extract the essid in a dump file from airodump-ng using grep. The part where I want to extract looks like this: <SSID first-time="Wed Feb 25 07:06:57 2015" last-time="Wed Feb 25 ...
0
votes
0answers
4 views

dnsmasq causes inability to resolve DNS queries made by host

On a headless Ubuntu 14.04 vanilla machine I setup dnsmasq as a DNS proxy with the following configuration in /etc/dnsmasq.conf no-resolv nameserver=<some working custom dns ip> port=5555 #to ...
0
votes
0answers
10 views

DBmail / Postfix : Relay Acces Denied

I am currently setting up a FreeBSD mail server with DBmail and Postfix. When i try to send an email from Hotmail.com to my server is gives this error: Feb 28 10:53:31 keroth postfix/smtpd[1848]: ...
0
votes
0answers
3 views

Kali linux black screen after booting

I've managed to install kali linux from USB but after I try to boot it I get only black screen (after GRUB). It works great when I run only live sesion from USB. I am using MSI GS70 2PE notebook which ...
-1
votes
0answers
7 views

Grub Installation RAID 1 CentOs [duplicate]

I have configured two hard disk with Software RAID 1.The grub is not installed properly in the hard disk.I came to know this issue by booting the hard disk in separate process.The Centos 6.2 did not ...
1
vote
0answers
6 views

Iptables can't forward from/to internal LAN with proxmox

I have an host with proxmox with single public ip and some virtual machine installed whit webservers and multiple doimains, the first machine is a proxy with haproxy that forward the request to other ...
3
votes
3answers
46 views

spawn - command not found!

I am using Mac OS X 10.9.4, following is my script to copy files from local machine to different host #!/bin/bash #!/usr/bin/expect echo "I will fail if you give junk values!!" echo " " echo "Enter ...
2
votes
0answers
33 views

Test if postfix is running

I'm searching for a reliable way to test if postfix is running from inside a bash script. My first attempt was simply trying pidof postfix, which doesn't work. Then I tried to get the postfix ...
1
vote
0answers
11 views

monitor mode capturing wifi

I have a network, which has 2 nodes (a phone, a macbook) both are connected to same wireless network, I know ssid and password for wireless network password: mypassword ssid: myssid security: WPA2 ...
2
votes
1answer
78 views

Why 'mkpasswd -m sha-512' produce different result every time it is called?

I am using this function to create a password in the shadow file $ mkpasswd -m sha-512 password $6$o50n4EfNOBzfs$K5l5AcOI5e0I9n2df0LmR11OLSPKSVM6AGBOnWVfDDfMubb46MrAj0zehdLNEoYzD2fj5q4XUdDwexj/dWLHy/ ...
0
votes
0answers
11 views

KDE 5 in Debian wheezy?

I really hate the look of all the desktop environments officially supported by Debian 7. I also really really like the look of KDE Plasma 5. Unfortunately Debian seems to only support KDE 4, and it ...
0
votes
1answer
7 views

how to know vendor id, device id, serial number of internal CD/DVD writer?

we have the usb-devices command to know the external CD/DVD writer details like serial number, vendor id, device id. But i want to know the same for internal CD/DVD writer.
2
votes
2answers
24 views

How can I mount this .img file and browse its contents?

I am interested in mounting a firmware image and browsing its contents. I attempted this with the mount command but received some errors ("you must specify filesystem type"). However I think there may ...
1
vote
1answer
10 views

Generating a .img from tarball: The /dev/loop devices

I'm trying to make a .img from a tarball using the following script I found: #!/bin/bash # Packages required # dosfstools parted # Can be run on any Linux system # loop.max_part=15 must be in ...
1
vote
0answers
7 views

Windows don't show up in second monitor Debian ATI proprietary drivers

I've installed Debian 7.8 on my computer, then installed and attempted to configure the drivers. Everything went fine except for the fact that no windows show up on my second monitor at all. I enabled ...
0
votes
0answers
8 views

What, as examples, can produce a POLLNVAL?

The reference about poll() just says “The specified fd value is invalid. This flag is only valid in the revents member; it shall ignored in the events member.”. That's not clear (at least to me): if ...
0
votes
0answers
6 views

Final Term buffer always on top?

I'm not sure if this is a compositing issue, or what might be causing this. I'm running Arch Linux (64bit) and Final Term is the only app causing this peculiar issue. Any ideas?
1
vote
0answers
37 views

Sed regex printing into a file.txt

I'm connected to a MQTT stream, and I filter out the data by entering : mosquitto_sub -d -t +/# 2>&1 | sed -n "/PUBLISH/{s|.*\('.*',\).*|\1$(date),|;N;s/\n//;p}" into the Ubuntu terminal. ...
3
votes
2answers
37 views

How to get the real name of the controlling terminal?

How can one get the real name of the controlling terminal (if there is one, else an error) as a pathname? By "real name", I mean not /dev/tty, which cannot be used by other arbitrary processes to ...
1
vote
1answer
39 views

Swap two files in bash

How do I swap two files in Linux console with minimum typing? Boring approach: $ mv file1.dat fileX.dat $ mv file2.dat file1.dat $ mv fileX.dat file2.dat
1
vote
0answers
14 views

Libpcap share directory method missing

so im trying to run a c program but everytime i try to run it i get this message error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory ...
0
votes
0answers
5 views

Enable debian VirtualBox bridge mode?

How can I Enable Debian 7 in VirtualBox in bridge mode? I have to access external IP. Thanks.
0
votes
0answers
6 views

How do I edit text in Cyrillic / Russian on OpenBSD?

I'm trying to make it possible to easily edit text in Cyrillic / Russian on a remote OpenBSD 5.2 amd64. I'm using emacs-21.4p18-no_x11, which doesn't show any Cyrillic characters whatsoever when I ...
3
votes
2answers
43 views

Use lines in a file to produce string and file name

I have a file, foo.txt, that has a folder name on each line: folder_1 folder_2 folder_3 And I'd like to do something like this: cat foo.txt | xargs -I {} echo 'function {}() { return stuff; }' ...
0
votes
0answers
3 views

Webmin - Edit User (emails)

I want to set an automatic email notification to go out when a user reaches a certain quota. I installed Usermin to enable additional options but when I go to "Users and Groups" under the "System" ...

15 30 50 per page