-1
votes
0answers
5 views

About the Terminal in mac OSX

I'm using OSX Lion, and I wanted to upgrade my OSX lion to OSX Yosemite. I wanted to have a clean install of my OSX. I was gonna make a bootable USB, and I got stuck at the sudo in terminal. it says ...
3
votes
2answers
17 views

Use two different ip addresses per host in SSH

I have a server, named gamma, constantly up and running at work. Sometimes I connect to it from at home, in which case I use the public IP address 55.22.33.99. Sometimes, I connect to it when I'm at ...
-1
votes
0answers
7 views

Jar file size mysteriously reduces to 0kb [on hold]

I have a jar file deployed on Centos 5.x, Java process runs fine, but after some time, a few months perhaps, the file size goes to 0. So when you have to restart the process due to any reason, it cant ...
0
votes
0answers
12 views

Daemons of accounts

When I try to login onto my pc. The place where am supposed to input the password has the following words. The daemon of accounts has not started. What does that mean?
0
votes
0answers
3 views

theHarvester returns 0 results

I have attempted to using the following command on Kali Linux: theharvester -d syngress.com -l 10 -b google Unfortunately, the result I got was nothing. There was no email and host. Is it the ...
0
votes
0answers
10 views

wget recursion problems

Is there any way to get wget to recursively download from one starting URL (including every prerequisites) and include other paths for which the same will be done? To make this clearer: The file ...
1
vote
0answers
20 views

Time calculation

I have a text file containing flight times, hours and minutes one per line: eg 8 minute(s), 28 second(s), 870 milliseconds 19 minute(s), 24 second(s), 398 milliseconds 18 second(s), 876 milliseconds ...
0
votes
0answers
9 views

Every time I try to resize the partition I get 2 MB instead of what I wanted?

I'm trying to partition my hard drive when installing CentOS 7. I chose manual partitioning, set the partitioning scheme on Standard Partitioning, then clicked on "Create them automatically". The ...
0
votes
1answer
32 views

How does bash's arithmetic work?

read num1 2 read num2 5 echo "$((num1+num2))" 7 echo "$(($num1+$num2))" 7 I referred this. I don't understand how the above both expressions yields same result? Please explain. echo ...
0
votes
0answers
8 views

Restart rsyslog after ntp time sync

I want to ensure that the logs written, have the correct timestamp. So, when ntpd completes the sync (ntpq -c rv displays sync_ntp), I want to restart rsyslogd. But I am not finding any hooks/config ...
0
votes
0answers
5 views

Which activity/program prevents my monitor from going off?

I can set my monitor off with xset dpms force off but something prevents KDE from setting it off. On the other hand, when I play a long youtube video it might go off (!). This correctly happens after ...
0
votes
0answers
10 views

Computer shutting off when headphones are plugged in

Whenever I plug in my headphones into the audio jack the monitor starts blinking and the whole machine becomes unresponsive. I tried using different sets of headphones but the same thing happens ...
0
votes
2answers
21 views

How to insert specific lines into a file using vim?

I am using vim for both programming and competitive coding. Now, since I want to insert specific macros whenever I open a source file when I am doing competitive coding. I just copy paste the entire ...
0
votes
0answers
6 views

CROSS compilation of BTRFS file system

We are developing Beaglebone black based custom board, We are planing to use eMMC for storage. To decide the file system on the eMMC we want to cross compile Btrfs user space utility, Does anyone know ...
0
votes
0answers
3 views

Red glitch borders on linux desktop animations

I am using gnome 3.14 + debian 8 jessie + nvidia optimus graphic driver. Those borders on animations are driving me insane and I would love some suggestions on how to resolve it :( ?
0
votes
0answers
4 views

Geting error “Must specify either driver or file” using physical disk in QEMU

I want to install windows 10 64 bit but my current verson of windows is 32 bit so it is unable to run the setup.exe file so I booted into live ubuntu 14.10 64 bit and installed qemu to use my current ...
1
vote
2answers
80 views

Difference between /run and /var/run

Is there any difference between /run directory and var/run directory. It seems the latter is a link to the former. If the contents are one and the same what is the need for two directories?
1
vote
1answer
14 views

Apache server allow access from the local network

I have installed fedora server, and I cannot seem to get web requests through to it. I can ping it fine, and apache is functioning fine on the machine as far as I know. I have the listen on ...
1
vote
0answers
3 views

Edit a binary value in hexadecimal in chntpw?

I'm trying to edit a Windows registry entry to change the key to my Bluetooth device to be able to dual-boot with my Bluetooth keyboard. I know which registry entry to use and I can extract Windows' ...
0
votes
0answers
2 views

Arch bsd will not boot right if all on usb [on hold]

I have been wanting to use the bsd side of linux for a while but when i mount the iso file on a usb it will not boot. any solutions? sry for the crappy tags....
0
votes
0answers
8 views

Configuration management via versioned packages

For the hosts we manage, my boss has a vision of configuration management via versioned packages (in our particular case, fpm-built debian packages). This is to make: host deployment easier easier ...
0
votes
0answers
9 views

WIFI connected but not working in Lubuntu

I'm new to Linux in general and I have had difficulty with some wifi connections. Some work and some don't. When I look under edit connections everything looks the same and I am left rather puzzled as ...
0
votes
0answers
7 views

NodeJS / Etherpad: freshly installed etherpad causes TypeError

I have a Debian 7 stable server and installed etherpad-lite with this tutorial how to install etherpad-lite on debian stable. Everything went fine and etherpad starts without errors using: service ...
2
votes
2answers
62 views

Output of stat on OSX

I want to use the stat command to get information on a file. I did this: Josephs-MacBook-Pro:Desktop Joseph$ echo 'hello' > info.txt Josephs-MacBook-Pro:Desktop Joseph$ stat info.txt 16777220 ...
0
votes
0answers
11 views

DNS/BIND configuration to resolve *.mail.*.outlook.com subdomains

I'm running BIND 9.3.3rc2 on a CentOS 5 system acting as an SMTP server. Until last week, I haven't had any problems with DNS or name resolution. The only problems I have resolving are with subdomains ...
0
votes
1answer
11 views

frequent linux mint hangs

My Linux Mint system (17 Cinnamon, lenovo g565) hangs up frequently during work (say, 2-4 times a day). It may look different white screen black screen screen freeze Maybe some of these symtoms ...
-2
votes
0answers
10 views

Manjaro xfce stuck after booting from Grub

I've just downloaded Manjaro xfce via torrent, then burn it to an USB with Win32 Disk Imager. I tried to install it on an old Acer PC, and after booting from Installation first menu, it stuck at ...
2
votes
1answer
9 views

What is the last step to use my scanner?

I have a Canon DR-1210C USB Scanner. It is recognized by the kernel when plugged in: [5365651.911506] usb 2-2.1: USB disconnect, address 3 [5365661.952066] usb 2-2: USB disconnect, address 2 ...
0
votes
1answer
10 views

How to detect real sample size and number of channels in WAV file?

I've got this wonderful conundrum with a WAV file, whereas I cannot detect it's actual sample size (i.e. how many bits are in a sample) and the number of channels. geek@liv-inspiron:~$ soxi file.wav ...
-3
votes
0answers
17 views

Help crontab hell lubuntu alternative 14 [on hold]

I try to run a cronjob, but nothing it not want go I have Lubuntu alternate, and try to run a python script, I add this line in cron job * * * * * ...
1
vote
0answers
5 views

Subordinate GIDs/UIDs with LXC and userns for unprivileged user?

When using userns (via LXC in my case), you assign a range of subordinate GIDs and UIDs to an unprivileged user. See for resources: subuid(5), subgid(5), newuidmap(1), newgidmap(1), ...
0
votes
0answers
2 views

httpd and mod_security woth OWASP's dos rules

I'm trying to setup the mod_security on my httpd web server. I have followed the basic steps yum install mod_security I put the modsecurity_crs_10_setup.conf in the /etc/httpd/modsecurity.d I put ...
0
votes
0answers
10 views

setuid bit has conditional effect on dash shell [on hold]

As this question shows, the bash executable has the property that it deactivates setuid bit. Setuid bit seems to have no effect on bash However, I discovered something strange. Right now, I have ...
0
votes
0answers
5 views

How To Customize Syntactic Colors In Padre

I'm new to Linux Mint (I've just installed Cinnamon version 17.1), and I would like to customize the colors in the editor for Padre (version 1.00). I know that there is a config file in the ...
0
votes
1answer
10 views

“Package 'dconf-cli' has no installation candidate”

I want to be able to colour my gnome terminal (on Debian), using this package, and the installation notes require me to first execute sudo apt-get install dconf-cli, but doing so gives me an error. ...
1
vote
0answers
5 views

X forwarding from a mac to Linux fails

I have been having problems recently while trying to ssh into linux servers (Ubuntu 14.04) from my mac (OSX Yosemite 10.10). This used to work fine until my latest update, where I systematically get a ...
1
vote
0answers
6 views

How to lock GNOME3 on OpenBSD?

There is a normal user, that I added sudo permission to "zzz" on an OpenBSD 5.6 notebook. The "zzz" works, the notebook suspends.. but the GNOME 3 screensaver doesn't lock before/after suspend. How ...
0
votes
0answers
8 views

Bind multiple chars to single keyboard key [duplicate]

Is there any possibility to bind multiple chars (e.g. a word or even multiple words with spaces between them) to a single key? I've been able to bind specific letters to keys using xmodmap, but not ...
0
votes
1answer
31 views

Specify target file system [on hold]

How can I specify which file system the file be stored, in linux command line, after sshing to a machine? Several file systems are mounted, and my goal is to use one of them to store my file (in ...
0
votes
0answers
16 views

Convert pacman package to deb or rpm?

Given a pacman package (.pkg.tar.xz), is there a tool to convert it to a deb or rpm package? In other words, I'm looking for an equivalent to alien. So far, I got the impression that such a tool does ...
1
vote
0answers
19 views

Is there a /dev/pts alternative on Mac OSX?

I'm attempting to determine how many terminal windows are open, as described in this Q&A answer. However there doesn't seem to be a /dev/pts on Mac OSX. Is there an alternative to this?
0
votes
1answer
15 views

Geting error in qemu “No such file or directory”

I want to install windows 10 64 bit but the my current verson of windows is 32 bit so it is unable to run the setup.exe file so booted into ubuntu 14.10 64 bit and installed qemu to use my current ...
0
votes
0answers
3 views

GCM encryption mode for Debian 7.6

Does an option exist for AES-GCM 256bit encryption for client connections with OpenVPN? I've tried to google around this question, but found no algorithm how to patch my openvpn/openssl. So my ...
4
votes
0answers
20 views

Simplest possible secure sandboxing (limited resources needed)

I'm working on a project that implements distributed simulations: arbitrary code is executed on multiple nodes and the results are later collected and aggregated. Each node is an instance of an ...
0
votes
0answers
15 views

Mail - server name issues?

I asked some time ago a question Send emails with a custom From: field However, still can't get exim4 running. It does send emails, but it is unable to receive any. I'm quite sure this might be ...
0
votes
1answer
16 views

Expect script buffer output not showing

How can I get the command output from the buffer? Current'y it's just saying "(buffer). Here is my script and debug output: #!/bin/bash -x while read p; do echo $p { /usr/bin/expect -d << ...
4
votes
1answer
95 views

How to calculate percent of every column?

I'm trying to transform some data to a percent of the total of each column, very similar to this thread except that I need to do this for every column: Calculate and divide by total with AWK Data ...
0
votes
0answers
16 views

How to print all PIDs of processes in a certain directory? [on hold]

I have to write a program in c that prints all PIDs of processes running in a directory, which is passed to a program a an argument. How exactly do you write that? How can I format information about ...
1
vote
0answers
36 views

Can not execute Heroes of Neweth binary file

I'm trying to install Heroes of Newerth on openSUSE 13.2, KDE 4.14. I downloaded the client from official website. I checked is executable option in properties. But when i double clicked on the file ...
0
votes
0answers
9 views

how to make firewall changes permanent via firewall-cmd?

I am trying to open some ports in CentOS 7. I am able to open a port with the following command: firewall-cmd --direct --add-rule ipv4 filter IN_public_allow 0 -m tcp -p tcp --dport 7199 -j ACCEPT ...

15 30 50 per page