All Questions
0
votes
0answers
2 views
Transmission stopping with error permission denied
I've recently installed Ubuntu 14.04 LTS and whenever I try to open a torrent in Transmission, it'll run for a few seconds and then stop with the message "Error:Permission denied ...
0
votes
0answers
4 views
SUDO_USER undefined in sudo manual - clarification would be lovely
The following statement appears early in the sudoers manual, it refers to the "SUDO_USER environment variable" but the manual does not define it:
If sudo is run by root and the SUDO_USER ...
0
votes
0answers
21 views
Why is moving file within an ext4 partition so slow?
The short question is why is a move operation, moving within the same ext4 partition taking longer than a copy of the same files from a different drive?
The longer description of the scenario: I ...
0
votes
1answer
23 views
How can I specify plain text to search a string in?
I use following command to search for string ELF in plain text files under current directory recursively:
grep ELF -r .
but it also searches in pdf file, binary files (e.g. zip file, pdf file), and ...
1
vote
0answers
4 views
Remaping key combinations - Pressed key act as different one while
Here is what I want :
Key1 pressed + Key2 pressed & released, then Key1 released act as Ctrl + Key2
but at the same time
Key1 pressed and released act as Key1
So, for example :
Pressed Space ...
0
votes
0answers
4 views
net scripts try to up old physical removed network interface
Situation:
Gentoo with kernel 3.8.4
amd64
udev 218
no systemd, no initram, no old network udev rules
Previously 3 network interfaces (2 x onboard, 1 pci , all r8189 module ones)
After an short ...
0
votes
0answers
4 views
JACK pitch shifting
I like to play along with songs coming from firefox on my MIDI keyboard, so I have Pulseaudio routed through JACK as detailed here. But a lot of the time, especially in older recordings, the pitch ...
0
votes
1answer
20 views
How to test whether a file is a font file
I have several thousands of automatically saved web-pages, proceeding from different sources. Many of the web-pages have embedded fonts in files like *.woff, *.eot, *.ttf, and *.svg. I'd like to ...
0
votes
0answers
2 views
Dbmail / Postfix Send mail to local adress
I have a FreeBSD Server with Postfix and DBmail. The mail system is working perfectly except for one thing: I cannnot send an email from domain1.com to domain2.com if they are both hosted on the same ...
1
vote
1answer
7 views
What are gpg-pubkey* packages?
I compared the packages list reported by RPM and YUM on a CentOS 6 and 7. I noticed the lists were slightly different (same issue with RHEL). See Listing installed packages with yum and rpm mismatch ...
0
votes
0answers
8 views
Is there a way to brute force with SQLMAP in Kali Linux?
I've been experimenting around with SQLMAP in kali linux. Upon entering a database I entered the tables and then I entered the columns and found a column titled passwords. Upon dumping the passwords ...
-1
votes
1answer
20 views
How can I remotely access my Linux GUI?
I have a Linux machine at work (scientific Linux 6) and I would like to be able to remotely log-in from home. Security-wise we are already allowed, just the current setup requires SSH + Putty and I ...
0
votes
1answer
13 views
What is happening to the files during the installation tripple “./configure, make, make install” ? [on hold]
One recurrent pattern of installation I learned is as following:
wget ......./program.tar.gz
tar xzf program.tar.gz
cd program
./configure
make
make install
after step 2 (tar xzf program.tar.gz) ...
0
votes
0answers
3 views
Disable second monitor MDM login screen?
I'm looking to disable my second monitor while on my login screen. It causes my primary monitor to be the wrong resolution until I login and it's somewhat annoying. I have set my primary monitor using ...
0
votes
0answers
11 views
How can I get vim to return to normal tab display?
In an effort to get vim to show vertical indentation lines I ran the following command:
:set list lcs=tab:\|\
Now my tabs look like this:
How can I reset vim to default behaviour of not ...
0
votes
0answers
13 views
External HDD unable to detect
External 1TB HDD having problem, when I connect it with my Linux System the system just hangs for few minutes with below output:
[root@spirit sh]# fdisk -l
Disk /dev/sdb: 500.1 GB, ...
0
votes
0answers
20 views
How to stop running process in linux terminal?
I know some methods for stopping process. When I type:
echo {1..999999} > filename.txt
I can't stop it from running. I can stop other processes with
Ctrl+C | Ctrl+D | Ctrl+/ and etc.
But none ...
1
vote
1answer
37 views
Permanently disable IPv6, for a given interface?
I'm looking to permanently disable IPv6 on a specific interface because it's broken and my question on Superuser to fix it is dead so how can I go about doing that? I've added ...
0
votes
0answers
4 views
Desktop autostart not working
I have a CentOS 6 installation running Gnome. Some time ago I noticed that my desktop autostart applications are no longer running. For example in /etc/xdg/autostart I have vino set to run but it ...
1
vote
1answer
13 views
Error while installing Apache; error is “E: Sub-process /usr/bin/dpkg returned an error code (1)”
I followed an online article to remove my Apache from my system.
I removed Apache through these commands
sudo apt-get purge apache2 apache2-utils
sudo rm -rf /etc/apache2-bin
sudo apt-get autoremove
...
0
votes
0answers
5 views
why do I have so many open socket handlers and netstat DGRAM entries?
I run on a RPi (Raspbian 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l GNU/Linux) a daemon in Python 2.7.8 which queries various APIs via requests and provides itself an API for another ...
1
vote
0answers
3 views
Creating a new connection on interface not used before using nmcli
Trying to setup a new connection using nmcli. The system is debian wheezy, the platform ci20.
I am missing an ID or UUID parameter in order to perform nmcli con up [id | uuid ]
It complains about ...
0
votes
1answer
15 views
Cannot access internet through OpenVPN
I have set up an openvpn server, generated a certificate and downloaded it to my client machine.
After importing the client.ovpn file in the network manager, I can still ssh into the server itself, ...
1
vote
1answer
18 views
Reading the contents of an ELF file (programmatically) [on hold]
I am trying to retrieve the contents of an additional section within an ELF binary. At this point, I'm using the following code to retrieve the name of each section:
#include <stdio.h>
#include ...
1
vote
2answers
40 views
bash division of numbers in text file
I have two numbers in test.txt file, I would like a way to divide the second number by the first number and assign the result to a variable or file in a bash script that I can use. I have used awk ...
0
votes
1answer
23 views
Combine xargs argument with some text [on hold]
I want to call wget with the argument passed by xargs but I want to add some text to that argument.
1
vote
1answer
23 views
Hexdump of a string starting at new lines?
Say I have a multi-line strings, but the entries on it are short; if I try to hexdump, then I get something like this:
echo "something
is
being
written
here" | hexdump -C
#00000000 73 6f 6d 65 74 ...
2
votes
0answers
19 views
Yum error in Centos : beginner
"Error Type:
Error Value: File contains no section headers."
I got this error that pops up regurarly. I am really new to centos and am using it for schools work. I must have tried to change ...
4
votes
1answer
120 views
Shell command/script to see if a host is alive?
I'm trying to figure out more ways to see if a given host is up, solely using shell commands (primarily bash). Ideally, it would be able to work with both hostnames and IP addresses. Right now the ...
1
vote
2answers
29 views
Need special validation for shell script
I want to create a bash script which will have lot of options while executing.
# script.sh --dry-run --user <parameter1> --pass <parameter2>
I heard about getopt option but looks like ...
0
votes
0answers
8 views
Adding additional NICs to Debian 3.2.51 Distribution [on hold]
I have a debian machine (Custom Compiled Kernel) .. I have installed 3 different adapters 2 LAN and 1 WLAN, but couldn't get them to work .. I didn't connect all NICs together, tried them 1 by 1 ...
...
1
vote
1answer
20 views
Why do my run level directories contain only start scripts and no single kill script?
I learned here that for each runlevel exist a directory with start and kill scripts. The start scripts are activated on entering , the kill scripts on leaving the runlevel. Start scripts and kill ...
2
votes
1answer
15 views
Arch Linux openSSH frequently drops connection
I'm running a VM using Oracle's VirtualBox. The OS is the latest version of Arch, 64-bit.
For some odd reason, every so often (frequently enough to be very annoying and making it almost impossible ...
1
vote
0answers
7 views
Running etherpad as a service on raspberry pi
I am setting up etherpad-lite on my raspberry pi ubuntu 14.04 server. I got stuck trying to make etherpad-lite run as a service, following these instructions (I've also checked several others but that ...
1
vote
1answer
7 views
remove the bit per bit log of wget
I have a php script that generates bash commands to wget files. I am trying to log wget activity using this:
--directory-prefix='xxx' --append-output='xxx.txt' -c -t0 -S"
But the log is too big due ...
4
votes
0answers
31 views
SSH server listening on multiple ports with passwordless access not allowing connections to second port
I have my Synology NAS running an SSH server listening on the default port 22 and I set up passwordless authentication with a public/private key and a passphrase:
From sshd_config:
...
1
vote
1answer
14 views
Enable cursor keys in python shell over ssh
I run OpenElec on a Pi.
I can ssh to the Pi and open a python shell.
How do I enable the cursor keys to work like up getting to last command in the python shell, like it does on my Ubuntu box.
Now ...
0
votes
0answers
12 views
Grub is unable to find physical volume with Windows 7, in dual boot with Archlinux. LDM problem?
When I boot my system I get into the nice menu with Arch-linux, its settings and windows vista (loader) as possibilities. Windows fails to boot when selected with a message identical to the output of ...
2
votes
1answer
17 views
How to initialize new disk for UEFI/GPT?
Background
I'm setting up a new build, with all new hardware, tabula rosa. I want to have multiple Linux installations and common data partitions.
From what I'e gathered so far, using new hardware ...
2
votes
4answers
85 views
Comparing strings
I am having trouble comparing two strings. Even though they are identical when printed, my if statement returns false.
#!/bin/bash
string1="HDMI"
string2="PC Speaker"
hash=$(pacmd list-sinks | ...
1
vote
0answers
8 views
How do you tweak iptables limit rules on openSUSE Tumbleweed?
I have a fresh install of openSUSE Tumbleweed, it is logging a lot firewall related stuff due to my apple devices multicasting to enable airplay.
Lines look like:
Mar 14 12:45:13 server kernel: ...
1
vote
0answers
14 views
Capture errors in a SFTP script
I have a sub sh file which puts receives an input of local directory and path to the remote directory and sends the file to the remote directory. If the remote path is invalid the error cannot be ...
1
vote
2answers
30 views
Swap line containing pattern with next line
I currently have the following code which nicely outputs some information about the wireless networks around me:
sudo iw wlan0 scan | sed -nr '/SSID: |signal: |primary channel: /p' | sed ...
0
votes
1answer
4 views
Slow Download/Upload speed on KVM on Centos 6 server
I installed KVM on centos 6 dedicated server but the Download/Upload speed was very slow.
The operating system on KVM is Windows XP.
Download/Upload speed on Centos 6 is faster 10 times than on KVM.
I ...
0
votes
1answer
35 views
HDD Won't connect / system won't read it. Not sure what dmesg output means`
I have a hdd that I pulled from an old windows laptop, I don't think there's any information on it that I want to keep. I was going to format it to ext4 or something.
Yesterday when I connected and ...
0
votes
1answer
42 views
What is the issue due to which debian hangs at fsck /dev/sda? What is the solution?
What is the issue due to which debian hangs at fsck /dev/sda? What is the solution?
This is the screenshot of Debian in normal mode:
This is the screenshot of Debian in recovery mode:
0
votes
0answers
5 views
USB dongle undetected on Linux Mint
I'm facing a peculiar problem on my Linux Mint laptop for the last week.
I have a ZTE AC2726 USB dongle with service provider reliance (netconnect broadband+).
The same dongle works well on my ...
2
votes
0answers
20 views
How to import ZFS pool with different configuration
After rebooting my ZFS pool was unable to open my main pool. The exact error that I'm getting is: "The pool metadata is corrupted and the pool cannot be opened"
When I checked the zpool configuration ...
0
votes
2answers
44 views
Uses of hash in shell scripting [on hold]
What are the uses of the hash character in shell scripting beyond using them in comments or as $#; what are other uses?
I want to be able to grep the content on each line before hash since there are ...
1
vote
1answer
5 views
Is it able to only allow yanked content went to clipboard, meanwhile deleted content doesn't? [vim]
I got set clipboard=unnamed in my vimrc.
Thus I can move vim's content to clipboard easily.
But recently, I found I don't need the deleted content(with d, x, etc.) went to sys-clipboard,
since it ...