1
vote
1answer
35 views

Change Network Bandwidth

I am using ethtool to change the bandwidth to 10MB/s. Since this is my first time using this program, I am struggling with the correct syntax to change it. I have tried something like: ethtool -s ...
0
votes
0answers
54 views

How to solve the problem of OpenVAS not starting in Kali?

My OpenVAS isn't starting in Kali Linux. root@kali:~# openvas-mkcert One or more files do already exist and would be overriden: /var/lib/openvas/CA/cacert.pem ...
0
votes
0answers
8 views

How to remove previous version of centos7 and install fresh centos7 in Toshiba Satellite using bootable USB

My centos 7 has been corrupted. I want to install fresh centos7. When I run rpm -q kernel. It gives the following results kernel-3.10.0-123.el7.x86_64 kernel-3.10.0-123.20.1.el7.x86_64 ...
-1
votes
0answers
9 views

Conky Widget: Random quote

you know if exist a Conky widget which display a random quote from a file? Maybe customizable to put my quotes Thank you
0
votes
0answers
14 views

TFTP times out in CentOS 7

I have an isolated server that telnets into the single device on its network and loads a file to it using the telnet command load. I am trying to recreate the functionality on another PC. The old ...
-1
votes
1answer
14 views

systemd's parameter expansion is interfering with my service's own command-line syntax

I have this unit file for running a service under systemd. [Unit] Description=Varnish HTTP accelerator log daemon After=varnish.service [Service] User=root ...
1
vote
1answer
42 views

Is it possible to speed up my Linux Clock?

Is it possible to modify the Unix Time Clock so that the clock is running ten times faster? Something like a fast-forward by increasing a clock frequency or change the clock tick time? Background is ...
0
votes
0answers
19 views

Can't boot Windows XP from Grub2 in Ubuntu 14.04.2

I can't boot my Windows XP OS on a dual boot with Windows XP and Ubuntu 14.04.2. I already tried the command update-grub without improving. I can see the menu entry in Grub but when I choose Windows ...
3
votes
3answers
52 views

Automatically mount a drive using /etc/fstab, and limiting access to all users of a specific group

I currently have an extra HDD which I am using as my workspace. I am trying to get it to mount automatically on reboots using the following line added to /etc/fstab /dev/sdb1 /media/workspace auto ...
0
votes
1answer
35 views

hg:command not found [on hold]

I am trying to clone a repository from bitbucket, and I installed mercurial, and copied the HTTPS command. When I run this command I still get hg: command not found, why is this?
0
votes
0answers
14 views

pkexec command is not working by means of keyboard short-cut

Earlier I used to run nautilus as root by sudo -A nautilus. Now I've set policy action for nautilus and pkexec nautilus is working fine through command-line and Alt+F2. $ cat ...
2
votes
2answers
16 views

How do I bind AltGr+key to a symbol?

I want to bind AltGr+W to æ, and some other combinations, how can I do this? I also need AltGr+Shift+W to Æ. I normally use setxkbmap to change the keymap.
0
votes
2answers
46 views

delete lines of a file from a file

I have about 14k lines to delete from a file. They are in another file: $ cat delete.lineno.txt 12d 23d 24d 78d ... .. etc. I need to delete lines 12, 23,24,78 etc from a file say my.file.txt. How ...
0
votes
0answers
13 views

Setting application-specific keyboard shortcuts in Gnome 3.16

I would like to associate a specific action in Nautilus (namely 'Open in Terminal') with a keyboard shortcut so that I don't have to use the mouse to open the current working directory in a new ...
0
votes
2answers
21 views

Git clone from Bitbucket

I am trying to git clone a repo off of bitbucket. I use git clone {https} temp. This gives me an error of refs not found. The https address is the one I get off of bitbucket, but the one they provide ...
2
votes
1answer
14 views

csh: setting command completion for `cd` to show both directories and files

In my csh terminal, when I do: ls tab -- it shows everything in the current directory as a possibility cd tab -- it shows only directories in the current directory as a possibility. If no ...
0
votes
0answers
8 views

Traffic redirect, application that uses virtual bridge

I have an internet connection via ethernet interface that have an address 192.168.0.100. I have an applications that use internet connection using this interface. Like this: App1 -> 192.168.0.100 ...
0
votes
1answer
26 views

How to find through scripts that peer-to-peer file-sharing applications are installed in Linux?

We want to find out whether there is any peer-to-peer file sharing is installed on Linux machine. Some examples of these applications include - Napster Kazaa ARES Limewire IRC Chat Relay BitTorrent ...
5
votes
5answers
108 views

Run `grep` excluding a file in a specific path

I want to exclude the file ./test/main.cpp from my search. Here's what I'm seeing: $ grep -r pattern --exclude=./test/main.cpp ./test/main.cpp:pattern ./lib/main.cpp:pattern ./src/main.cpp:pattern ...
1
vote
0answers
37 views

Shell Script to change user shell

I am writing a script that would be invoked to change user shell. The basic requirement is that once user gets authenticated (e.g: thorough some web application) the script would be invoked to set the ...
1
vote
1answer
28 views

Get `grep` to not output file name

When I use grep -o to search in multiple files, it outputs each result prefixed with the file name. How can I prevent this prefix? I want the results without the file names.
-1
votes
0answers
17 views

Do not work shortcuts in Fedora 21

In Fedora 21 some shortcuts don't work. There is a problem with combinations which have more than two keys (ctrl+shift+tab, ctrl+shift+← etc). Another problem with the Win+R or F12 hotkeys to call ...
0
votes
1answer
32 views

Windows to Linux (rsync and ssh) [on hold]

I'm trying to backup the folders in Windows Pictures to a remote Linux directory. This is what I have: rsync -av ssh /cygdrive/c/users/Owner/Pictures/ blah@192.168.1.10:/var/files/ImageSync/ I got ...
0
votes
2answers
26 views

Variable in for loop to be used as an array for a csv output

I've been struggling to come up with a solution for this, the goal is to organize the results into comma separated columns as we have to recable our entire datacenter from cat6 to cat6a. $DBFILE ...
7
votes
3answers
256 views

Does while spawn a subshell in bash? [duplicate]

Can someone explain why this script doesn't produce the output I was expecting? #!/bin/bash # var=0 ls -1 /tmp| while read file do echo $file var=1 done echo "var is $var" I get a ...
2
votes
0answers
20 views

recover lvm formatted partition

I had 2 old drives having LVM installed showing as 1 drive. They were attached by the datacenter to the new server to migrate data but they weren't able to be mounted I tried everything possible until ...
0
votes
0answers
17 views

How to test spamming mail server

I've recently configured a mail server which sends emails with SASL authentication. Emails are sent primarily through php scripts using Pear. This is all working fine and dandy however I have seen ...
0
votes
0answers
8 views

How to install Wildcard TDM410P to my Debian?

I want to install a WCTDM/0 "Wildcard TDM410P in my Debian 7 for I use in my Asterisk, but I can't it. And it appear DAHDI_SPANCONFIG failed on span 1: Invalid argument (22). I have to configure my ...
-1
votes
3answers
41 views

make average row with the same pattern [duplicate]

I have a huge table (10 columns and 6000 rows) and I have to make an average of all the rows only if they have the same pattern in column 3 (ko). My table contains numbers and strings. Here's an ...
-1
votes
0answers
7 views

jInput cannot detect input

I have recently started porting a Java game from Swing to Slick + LWJGL. However, upon adding Input support, I seem to be having a problem detecting the keyboard. Every single time i compile and run ...
0
votes
0answers
20 views

Link Speed for wireless connections [migrated]

I am working to implement a benchmarker for wireless connections. How can I determine the link speed in mbps? I am working with C language and Linux system.
0
votes
0answers
5 views

Change default XFCE backdrop for all users via cli?

So my situation is that I can change the relevant property for a user if I have Xorg running by xfconf-query, which is the normal way as I understand to do this, but I cannot use this command normally ...
2
votes
3answers
36 views

Manipulate multiple files by inode

I have a large number of files that contain backslashes \ that I would like to manipulate, but whenever I try something like: $ ls -li 2036553851 -rw-rw-r-- 1 user user 6757 May 20 00:10 ...
1
vote
1answer
31 views

Malloc error after running chown -R on /usr/

I'm running Yosemite on a macbook air. I was following the suggestions after running brew doctor which told me that usr/local did not have write access. It told me to run chown on a bunch of ...
0
votes
1answer
22 views

FDs more than 2, more than (stdin/stdout/sterr)

I think this post is not off-topic.We had three traditional file descriptors in Unix contexts: 0 == STDIN 1 == STDOUT 2 == STDERR But in new articles, blogs, posts, answers, or so on, I read more ...
-1
votes
0answers
14 views

Can I install and work with pycuda if I have ubuntu linux 32bit and boot from usb? [on hold]

System is 32bit. Have Nvidia Geforce 610M graphics card on my laptop. Am booting ubuntu 14.04 lts from usb
1
vote
1answer
40 views

sort file based one colum and group by another column

I have a file of three columns: 1 A 0.5 2 B 0.7 3 A 10 4 C 4 5 B 4 I want to sort the file by increasing order of column 3 and group by column 2 1 A 0.5 3 A 10 ...
0
votes
1answer
24 views

Installing packages to a Linux Server without internet connection

I have a production server (in my case Suse Linux) that is not connected to the outside internet. I can copy files to it via SCP and I have root rights, but I would not be able to connect to remote ...
-1
votes
1answer
28 views

Encrypt PHP script to a domain (RSA)

I have a php script I want to share with someone but only limit them to be able to use it on one domain. I have found http://phpseclib.sourceforge.net/ - I think I can do this with RSA encryption but ...
2
votes
3answers
53 views

Bash | port killing loop fails

I am trying to create a bash function which should kill all processes using some ports specified in port_array. The kill-port function works if I call it myself with a port e.g. with kill-port "80";. ...
0
votes
1answer
13 views

Do I need a modified kernel/module for bluetooth RSSI scan?

I want to write a scanner that shows nearby bluetooth devices with their RSSI values. I don't want to pair or even connect to the devices, it must be fully silent. From what I've seen unix bluetooth ...
1
vote
1answer
47 views

Getting an output error with command head in shell script

getting an error with head command. There are two files with size 48bytes in directory and its printing once along with the directory path instead of twice. Why the head command is not considering the ...
1
vote
2answers
48 views

Compare three files: lines present in one, but not in the other using column comparison

I have three files file1.txt, file2.txt, file3.txt and they are of same format(same number of columns with same data type). I want to select records from file1.txt which are not present in file2.txt, ...
0
votes
1answer
30 views

Cannot copy-paste from or to the gnome-terminal

I am using Arch linux. However after the recent gnome update, I am not able to copy or paste anything into or from gnome terminal to gui applications like editors or browsers. However I am able to ...
1
vote
0answers
18 views

How to recover missing serverauth so user can startx?

I've been using PCLinuxOS. All was OK until th Hard Drive had a bad block. After some fsck repair, from the shell, I tried to startx: xauth: file /home/joe/.serverauth.2052 does not exist. ...
0
votes
1answer
21 views

page up and page down alternative for horizontal scrolling in less

In vertical scrolling using less the page up and page down keys are working. Which keys scrolls one page down/up vertically? The less was started with -S option.
0
votes
1answer
31 views

How to format old laptop and install CentOS

I have an old laptop with Windows 7. I want to remove everything and install CentOS 7 to turn it into a server. What I know is that I should format the old OS somehow and get iso image of CentOS and ...
0
votes
0answers
12 views

OpenSuse does not show .eps files

I am running on this machine on a cluster: > lsb_release -r -i -c -d Distributor ID: openSUSE project Description: openSUSE 13.2 (Harlequin) (x86_64) Release: 13.2 Codename: Harlequin ...
1
vote
0answers
24 views

Inherit IO redirections from a script to another

When I redirect the output of a script within a script, I expect the redirection to be applied to the called script as well as the program called within it. A: ./B 2>> error.log B: ...
4
votes
3answers
91 views

Copy from remote server which doesn't have rsync

I need to recursively copy a folder from a Ubuntu remote server where I have ssh access. I don't want to follow symbolic links, nor to copy permissions/owner/group, because my client system (Ubuntu ...

15 30 50 per page