0
votes
0answers
2 views

iptables --replace-string --replace-hex-string not found

I found http://lists.netfilter.org/pipermail/netfilter-devel/2004-March/014700.html and the example: iptables -A FORWARD -p udp --dport 53 -m string --hex-string "|04|bind" \ --replace-hex-string ...
0
votes
1answer
6 views

Putty closed down on login

I have problem with login in into my dedicated server. After logining in into server I got putty message "Connection closed by remote host". The error in var/log/auth.log is: [18064]: Accepted ...
0
votes
1answer
12 views

Generalize CentOS and Ubuntu server in VirtualBox

I want to generalize CentOS and Ubuntu server for a lab that is using VirtualBox as virtualization environment. The main objective of the process is: To create a VM with basic OS and utilities ...
0
votes
1answer
12 views

How to use the 'leave' command in Xubuntu?

I cannot find the leave command in xubuntu-terminal. Xubuntu uses BASH by default. I'm not sure whether leave is not available for BASH or Xubuntu. How do I use it? Or, is there any alternative to ...
0
votes
0answers
7 views

Free cash point software sought [migrated]

Is there a free cash point software (POS) for Linux? It should be in German and must work under Ubuntu.
0
votes
1answer
22 views

What is the reasoning/design choice behind the unix/linux file system structure?

I've recently switched from using windows and I'll now be running linux on my computer. In windows there's the program files folder. Most of a programs files go into its own folder there which to me ...
0
votes
0answers
7 views

grub2 create menu entry to skip the current disk os while booting

I created 2 partitions on my pendrive. The first partition is big one and I use it for general purpose file storage. The second partition is small one and I made debian-jessie install in this one. I ...
0
votes
0answers
10 views

Dumping webcam video frames into jpeg

I have a raspberry pi and I want to stream webcam video from it. I want to make it compatible with my Windows Mobile phone (or any other device with a browser), so mjpeg streaming is out of the ...
1
vote
1answer
21 views

how do I design this pipe?

I am writing a script.sh like: ls a || ls > /dev/null || echo "both command fails"; exit 3 echo 5 # not showed up I hope the exit 3 be only executed when both command1 and command2 failed. But ...
0
votes
0answers
2 views

How to add LIRC to ir-keytable protocols?

I'm trying to issue a bash command on infrared remote control button presses. The IR receiver device is an usb device included in the Anysee e30 Combo plus DVB-T tuner, which works perfectly, ...
0
votes
0answers
9 views

use python add an item to right click menu [on hold]

I want to use python add an item to right click menu in linux(ubuntu), when select images it display, or hidden. Anyone can help me?
1
vote
0answers
12 views

How to implement dynamic bash auto completion

I have made a script that lists available projects. You can start a project by entering script start <project>. Now it would be great to enable autocompletion, so if you're entering start ...
0
votes
0answers
4 views

How to manually run hostapd will my configuration file?

I have a raspberry pi model b+ and I am trying to turn it into a Wifi access point using a guide I found on adafruit's website. I am having trouble using the code they gave me. The last step of the ...
0
votes
2answers
34 views

Linux command to display the contents of a given file byte by byte with the character and its numerical representation displayed for each byte [on hold]

I am looking for the Linux command and option combination to display the contents of a given file byte by byte with the character and its numerical representation. I was under the impression that in ...
-1
votes
0answers
24 views

How to choose a file from a list of files? [on hold]

I supplied cat *.txt which returned 1_test1.txt 2_test2.txt 3_test3.txt. Now I need to choose 2_test2.txt. Is there any shortcut key to select it?
0
votes
1answer
32 views

Could someone tell me what's wrong with this unix script? [on hold]

What's wrong with this script? I was trying out substitution in Bash Shell, but got an error in the 2nd line, "command not found". Date = 'date' echo "Date is $Date"
0
votes
0answers
2 views

Xubuntu 14.04 does not suspend; instead it freezes and blanks the screen

For the past 2 weeks, ever since I've updated my kernel to 3.16.0-48-generic, my suspend option in the xfce4-session-logout popup fails to work most of the times. The screen switches off, but the ...
1
vote
1answer
11 views

is it possible to check whether a local socks proxy works with shell script?

Say I have a SOCKS connection at local (established by ssh -D8888). I use this to do many things, like bypass the internet censorship. But sometimes the ssh would unexpectedly broken. Then the socks ...
1
vote
2answers
42 views

Looking for a distro that has linux kernel 4.0?

The computer I'm looking to upgrade to linux has a wifi card that isn't supported in linux but I read somewhere that it is supported in the 4.0 kernel. Because of this I can't install an old kernel ...
0
votes
0answers
12 views

virtualbox, how to enable host to access the Internet via the guest?

I have a notebook and installed Fedora 21 into it, then I installed virtualbox, then I installed Windows XP as a guest. From the Windows XP, I used the eth0 as the bridge to let the dialer(only ...
1
vote
0answers
6 views

Cyrus Performance Tweaks?

Okay guys, I have put a lot of research into this so bear with me. Here's what I am up against. I have been working with RC for a long time and I know some awesome SQL tweaks that work wonders, etc. ...
1
vote
1answer
29 views

Expect Script for Command Line [on hold]

I am writing a script that will allow a Linux admin to quickly change passwords of its users. #!/usr/bin/expect # Check password for strength # ---------------------------------------------- read -p ...
0
votes
0answers
5 views

5Ghz wifi band and a repeating prompt for a wifi password

When I log on to Ubuntu and try to connect to the Internet with the right password, the prompt simply disappears and comes back asking for the password again, I have tried connecting it to my phones ...
-6
votes
0answers
16 views

file names and lines in the grades files where students scored < 10 out of 100 [on hold]

Unix command to create a file named sub in your home directory that contains the file names and lines in the grades files where students scored < 10 out of 100.
0
votes
0answers
5 views

SL7 (Fedora), Bluetooth Audio [on hold]

I have installed Scientific Linux (a variant of Fedora). Ever since I installed it, the connection to Bluetooth speakers has been hit and miss. I have the Gnome desktop. The Bluetooth device is ...
0
votes
2answers
18 views

How can I disable xtrace and preserve my exit code

I'm trying to figure out a good way to disable xtrace before leaving a script. These are all being executed by Wercker, a continuous integration and deployment SaaS. A previous script of mine has run ...
0
votes
1answer
47 views

ssh connection refused from same PC when going outside local network

I have sshd running on port 8000 running on a freshly installed plain vanilla Linux Mint 17.2 Rafaela. $ sudo netstat -tnlp | grep :8000 tcp 0 0 0.0.0.0:8000 0.0.0.0:* ...
2
votes
2answers
52 views

Are there any benefits of using .qcow2 over .img and which is recommended for making a VM?

Are there any benefits of using .qcow2 over .img files when trying to create a VM . I have a smallish debian .iso and have seen at least with .qcow2 that it is slow. I also saw ...
0
votes
0answers
5 views

Install orca on redhat

Has anyone successfully installed/ran orca (a performance monitoring tool for Solaris) on Redhat? I see some old posts asking about it but there have been no responses. ...
0
votes
1answer
9 views

Slitaz prevent tux login without password

I am building a small demo distro with some php / mysql code and looking at a quick boot, small footprint headless distro. Slitaz works well but I am stuck at a minor spot which I have not been able ...
0
votes
0answers
5 views

Kali Linux Wifi Intel Centrino N135 Installaton

I Have a Lenovo G500S Laptop and I recently installed Kali Linux Light x64 Version over it. I tried to install drivers through iwlwifi*.tar and then copying .ucode to firmware and then running ...
-1
votes
1answer
25 views

Printing on “standard out” and “standard error”

I'm puzzled over some terminology used in my homework: Use each of the following commands such that blotz (and nothing more) is printed on standard out, and nothing is printed on standard error ...
0
votes
1answer
15 views

apt working unexpectedly on debian 8

Sometimes I'm noticing my bandwidth being all consumed although I'm not doing anything consuming, so I fire up nethogs on my wireless interface and I notice an apt process running without me starting ...
0
votes
1answer
12 views

Delete destination directories with rsync (contents as well as parent)

I have a versions/ directory on a remote server to which I have only rsync daemon and ftp access. This directory contains a set of subdirectories, each named after the datetime of a deployed codebase ...
0
votes
0answers
7 views

Config folder for a service

Context When running the Deluge daemon (deluged) as a service, you can specify an option to where the config folder will be created. The deluge-user I've created, is a system account, and therefore ...
6
votes
1answer
159 views

Difference between closing the terminal using the closing button, and Ctrl-D

When I'm launching a background process and then closes the terminal using the window's closing button, the background process gets killed. However if I close the terminal using Ctrl+D, the background ...
0
votes
0answers
7 views

Dual boot OS X and Manjaro - Problems [on hold]

(Cross-posted in Apple StackExchange) So I'm trying to dual boot OS X and Manjaro. Using the graphical installer of Manjaro, you're given the option (well, it's an obligation) to create a partition ...
1
vote
2answers
14 views

Cannot rewrite “trap command” for SIGTSTP, SIGTTIN and SIGTTOU

I want to trap the SIGTSTP signal, but I'm not able to. When I call just trap command without arguments, I'm getting this: trap -- '' SIGTSTP trap -- '' SIGTTIN trap -- '' SIGTTOU Obviously, my ...
1
vote
0answers
8 views

Can't find where modsecurity.conf and .load file are located?

I am using LUbuntu, which is Ubuntu 15.04 I have apache2 installed, and I compiled modsecurity from source code. I start apache as usual: sudo service apache2 start and then I checked what modules ...
1
vote
3answers
16 views

RHEL6 openssl + httpd confusion

I have a confusion around openssl + httpd (SSL). I got a rhel 6 server to manage, from the previous admin. This server hosts a (HTTPS) web site. Recently, I updated openssl to a more up-to-date ...
1
vote
0answers
6 views

How to use accent keys with US keyboard on OpenBSD 5.7?

I have a machine running OpenBSD 5.7. The keyboard is a standard US 101 keys keyboard. /etc/kbdtype is set to us. I'd like to use dead keys (ie. pressing ' and a should yield an a with an acute ...
0
votes
1answer
12 views

Cannot use NTFS drive as non-root user

I have an NTFS partition which I am trying to mount as Read Write in Fedora 22. Using Nautilus as root allows me to create folders, files etc. However when I use my non root account, I get an "Error ...
0
votes
0answers
4 views

Does MATE DE have user-configurable hooks for udev events?

Does MATE DE have user-configurable hooks for udev events? I would like to disable my embedded keyboard and touchpad when external ones get connected.
3
votes
2answers
22 views

Alternating a long running task to pause/run to reduce cpu

I have large file I need to mv and even with nice -n19 it seems to affect the server performance. I think an option would be to run the process in "chunks" whereby I run the command for a few ...
0
votes
1answer
15 views

RRDtool update not working when integers and floats are mixed

I'm trying to store ADSL stats for my router. I didn't do rrdtool info on the others beccause they are now showing the correct value after using the same command as in the script to update. The weird ...
0
votes
0answers
13 views

Command line for detecting monitors, instead of rebooting

If I plug monitors to my laptop, arandr doesn't see them. It's as if they were not plugged. On the contrary, if I reboot with monitors plugged, then I will be able two manage the additional screens ...
0
votes
1answer
36 views

How does the Linux system manage to communicate with the interfaces in order to send a packet [on hold]

My post is about the link between interfaces and the Linux OS. I would like to understand, how the Linux system manages to send a packet through network. I assume that they are interfaces (eth0, ...
0
votes
0answers
6 views

Verifying which model of HP Chromebook will allow for Arch installation?

New to Arch and trying to make sense of this chart: https://wiki.archlinux.org/index.php/Chrome_OS_devices/Chromebook I have the HP Chromebook 14 G3 (Oct 2014) with a 2.1 GHz Nvidia Tegra K1 ...
1
vote
1answer
15 views

Postfix on Centos7 not accepting Public port 25

I have a new mailserver (postfix) on a new CentOS7 install. I can connect (telnet) on 127.0.0.1 port 25 and on the public IP from the local machine but not on the public IP outside the machine. I use ...
0
votes
1answer
25 views

Backup solution for home network

I have been looking into some solutions regarding backing up all data from clients that are connected within our home network to a remote location for safe keeping. I figured that if I could get data ...

15 30 50 per page