-1
votes
0answers
4 views

Windows vs Linux for Python programming?

just wondering which would be better for intermediate to advanced Python programming?
0
votes
0answers
8 views

How do I install debian with all drivers?

From this page Any firmware loaded during the installation will be copied automatically to the installed system. In most cases this will ensure that the device that requires the firmware will ...
0
votes
0answers
4 views

Can I add mouse support in less?

I've just discovered that I can add the following lines to ~/.vimrc. set mouse=a :vmap <C-C> "+y This has the effect of being able to select text with the mouse (i.e. in visual mode), and ...
-1
votes
0answers
13 views

Differences in binaries [on hold]

What exactly are the differences between the binaries of different OSes or even distros using the same kernel that make them incompatible with each other. Some extensive references and details or ...
0
votes
0answers
16 views

How do I install free drivers on a debian system?

I did a text mode install on trisquel which is a debian based system. I'm not sure why but when using the live cd (of trisquel), ubuntu and other distros it finds a driver for my usb wifi adapter. I ...
0
votes
0answers
9 views

How to set up the permissions using the CUPS backend?

I'm trying to write a script that takes command line parameters and parameter order, formats the output from CUPS server backend query, and configure the permissions and locations to install the ...
1
vote
2answers
20 views

Help with iterating fieldA in CSV file, where fieldB has specified value

I've been trying to setup a script to run on gitbash, to process a CSV file so each record that has a specific value, the last field is changed from empty ("") to a value that iterates from 1 to 16. ...
2
votes
1answer
19 views

Bash script to verify that an rpm is at least at a given version

I need to write a script to verify that an RPM is at least a given version in Linux. QUESTION 1: How can I get the RPM version in a variable $RPM_VERSION, so that it contains the version all the way ...
2
votes
2answers
15 views

How to update grub from another distro?

I have three Linux installs and one Windows 8.1 install on my computer. Now, I've only installed Grub2 on one Linux install. So, I always have to login to that one to use update-grub. The problem is, ...
1
vote
0answers
8 views

Allow multicast packages from the bridge to wire in KVM

On a CentOS 6.5 host, I have a couple of guests - Ubuntu 12.04 and CentOS 6.5. The Ubuntu guest is generating mcast traffic that is visible via a tcpdump on the br3 interface. It is also visible on ...
1
vote
0answers
8 views

Which jabber client receives messages?

I have jabber clients on my computer (pidgin) and on mobile phones (im+). For now each message is received by arbitrary one of them (or so it looks). For instance, if a person sends two messages one ...
2
votes
1answer
16 views

How do I stop screen from clobbering my titles?

I am using bash and GNU screen on centos7. I notice that if I ssh to another server, change the title (via ctrl+a+A), and log out of the server that my new title gets overwritten by USER@HOST:~. How ...
0
votes
0answers
13 views

Copy old cert files and keep the directory path on server

I need to copy old certificate files to new temp directory but keep the directory structure. The certs files are in directories on the server and need to copy all to a temp folder before removing. So ...
0
votes
0answers
22 views

Missing wifi driver when performing text mode install

When I used the GUI install on Trisquel to my USB stick I was able to use wifi on my machine. When I used the text installer because I wanted an encrypted LVM it appeared I had to download everything ...
7
votes
2answers
71 views

Print pids and names of processes as they are created

From the question here, the OP wants to repeatedly poll the pid of a process using pidof in a shell script. Of course this is inefficient as a new process must be started for the pidof program ...
1
vote
2answers
39 views

How to convert fixed length fields in a file to space delimited

I have a fixed length matrix type file where each field is 20 characters long. How can I convert this to a space delimited file? Also there are some missing values, which I would like to ...
0
votes
0answers
7 views

Specifying a random monitoring port with autossh

I have many reverse ssh tunnels and because monitoring ports can't be reused, I am trying to find a free random port for monitoring. Meanwhile I specified -M 0 and the forwards work great and in ...
1
vote
0answers
10 views

Trying to rebuild a raid5 array, but it keeps getting assembled as raid0

I had RAID5 array of three disks with no spares. There was a power out, and on reboot, the array failed to come back up. It's the only array on the machine. The details of the three disks are ...
2
votes
1answer
60 views

convert C style comments to C++ style using sed

I'm trying to convert single line 'C' style comments to 'C++' style. The 'sed' below isn't bad, but of course it fails if any leading code (code before the comment) has any ' / ' in it at all: sed ...
0
votes
1answer
30 views

Getting all IPs of devices connected to the same router

I have several linux devices connected to the same router (of which I am not a administrator). How can I find out the ip addresses of all other devices by executing some commands in one of them?
0
votes
0answers
9 views

uBoot on BananaPi, stuck waiting for waiting for root device /dev/mmcblk0p2

I flashed banian linux 14.09 to an SD card stolen from a raspberrypi. I've plugged a 2.0amp raspberrypi power supply into the correct microusb power port (the one by the SATA connector). Boot stops ...
1
vote
0answers
40 views

Are there any alternatives to pidof? (smaller footprint)

Well, I've just found out that with extensive usage of pidof in very short intervals, the seemingly tiny tool can be a great CPU hog. (Source: top) On my older machine, it can easily reach 30 percent ...
2
votes
1answer
26 views

Is there a way to execute commands while getting user input?

I’m fairly new to scripting and I have a high-level question of how to do something. I want to design a simple game similar to space invaders, with these two main features for now: Bullets drop ...
0
votes
0answers
36 views

How I can modify a sh command? [on hold]

I need to modify the code for one of the sh commands. For example: Add a one line of code that prints your name when a command is executed by a user on the shell.
2
votes
0answers
24 views

set packet rate limit via tc

I have a packet rate limit (max. 100 per seconds) which is set by my internet provider. This is a problem if I want to use the AceStream player, because if I exceed the limit I get disconnected. How ...
1
vote
1answer
21 views

Manually configure ipv6 address in 2 different subnets

I have a following setup Linux1---------------Linux2------------------Linux3 (eth0) (eth1) (eth0) (eth0) I have this in a local network i.e the Ethernet cables are ...
0
votes
1answer
24 views

How do I extract information with what I have right now?

I have a bunch of swfs, these swfs include links to other swfs inside them. I use this to convert them to xml: swf2xml Disc1.swf Disc1.swf.xml. Then I use this to remove every single line that does ...
2
votes
0answers
6 views

dbclient - login without manually typing password

On my router which runs OpenWRT I need a script which will keep a SSH connection alive mostly all the time (small breaks are OK). As the ssh server which I want to connect to takes care of multiple ...
1
vote
0answers
8 views

Post installation error: no such device . grub rescue

I installed ubuntu 14.04 as the only operating system on a computer with 1 hard disk and chose the following partitioning: sda1 (fat32) for EFI sda2 (ext4) for /home sda3 swap sda4 (ext4) for ...
2
votes
1answer
11 views

Allow SFTP users to create sub-accounts

Environment Ubuntu 14.04.1 LTS server edition OpenSSH_6.6.1p1 Ubuntu-2ubuntu2, OpenSSL 1.0.1f 6 Jan 2014 Current Configuration SFTP password-protected accounts are setup for Alice and Bob. Their ...
0
votes
1answer
20 views

arch linux boots into grub command line [on hold]

So, I`m trying to install arch linux over virtual box guest machie in a UEFI mode. I`ve followed begginers guide to install base system, generate fstab and etc and my system now boots into grub ...
5
votes
2answers
184 views

What happens if I run fsck on /dev/sda instead of /dev/sda1?

When I have run fsck in the past I have always run it on what I thought was a filesystem partition, ie. fsck -yf /dev/sdaN, where N is the partition number on disk A. A friend of mine recently ran ...
1
vote
0answers
10 views

Git, Linux kernel and ticketing/bug-reporting [on hold]

We all know that Linus Trovalds created git because of issues with Bitkeeper. What is not known (at least to me) is, how were issues/tickets/bugs tracked till then. I tried but didn't get anything ...
1
vote
2answers
32 views

Which function in Linux kernel do the powering off action?

I am not asking how to shut down. I am asking how to cut of the power. What is the function in Linux kernel code do the action of cutting of the power? And please explain the code.
0
votes
1answer
35 views

Read line from file, manipulate, and then append to another file

To pool specific content from a batch of files, I do for ID in {92..128}; do sed '3q;d' directory_$ID/stats done Now what if want to put the $ID in front of each line read (preferably shifting ...
1
vote
2answers
24 views

Replace text/string with new line

I have had a requirement where I need to move data to a new line based on a text: Input :61: 456 B66666 :61: 878 N78777 :61: 534533534 BNNN Output :61: 456 B66666 :61: 878 N78777 :61: 534533534 BNNN ...
1
vote
0answers
28 views

Black screen when visiting some website

I get black screen when visiting some web site on Google Chrome and Firefox. The reproduction of the issue is often. As example, the bug is reproduced when playing some video on youtube When playing ...
1
vote
1answer
17 views

What directory houses the scripts that get executed with new kernel installations?

This one is pretty much a straightfoward question/answer I just can't locate the information. I'm trying to automate the re-installation of VMWare tools based off when a new kernel is installed. I ...
0
votes
0answers
16 views

“ERROR while getting interface flags: No such device”

I am trying to crack Wifi using airmon-ng on ubuntu 14.04, I run the command airmon-ng start wlan0 The output is Found 5 processes that could cause trouble. If airodump-ng, aireplay-ng or ...
0
votes
1answer
20 views

How to check PIPESTATUS equivalent during PROMPT_COMMAND execution?

I have a custom $PROMPT_COMMAND in bash that logs the last executed command and its return code. I was using $? for the latter happily until I realized that for piped commands this was insufficient. I ...
2
votes
2answers
21 views

Need explanations about SSL issue and installation process

I am trying to install SSL on my server. First of all I wanted to purchase a certificate. They asked me to generate a CSR file. I created it and it resulted with two files: my.website.key ...
0
votes
1answer
11 views

Can't run Remarkable, a markdown editor, on Debian GNOME

I have Debian with GNOME (oct-2014). I have downloaded Rermarkable as a deb package. The installation with GDebi has ran correctly. However when I execute the application in the console, I have the ...
0
votes
1answer
7 views

Plot generated with matplotlib doesn't shows up in Yakuake [on hold]

I'm trying to display the plot of this really simple script: import matplotlib.pyplot as mp mp.plot([0,1,2]) mp.show() In Konsole no problem, an external window pop up with the plot. But nothing ...
0
votes
1answer
23 views

When will CUPS fix the SSLv3 POODLE bug? [on hold]

[root@NOTEBOOK ~] for oneline in `which openssl > /dev/null 2>&1 && netstat -an | grep -w LISTEN | grep -v "^tcp6" | awk '{print $4}' | sed -e "s/\*\./127.0.0.1:/" -e ...
7
votes
4answers
192 views

How to find source of spawning process?

I have a Java process running on a RedHat Linux instance. The problem is it keeps reappearing after I kill it. I am not sure where to look. I've already went to crontab, but no luck. I've looked at ...
0
votes
1answer
7 views

Permissions for /etc/ssmtp/ssmtp.conf

I'm just starting with my own Virtual Server (and Linux). I've an apache2 and a few wordpress sites. I need to send mails via PHP (contact forms). I managed to install ssmtp with the help of a few ...
0
votes
0answers
9 views

RPM command stuck/FREEZE when installing RPM file

I want to install the following rpm from some reason RPM is stuck or freeze and not install the RPM package also I can't stop it by control C, root]# rpm -Uvh --repackage ...
0
votes
3answers
26 views

How to print loop index to a file using awk?

I'm a new in bash scripting. I need a help in how to print the loop index to a file using awk? Here is the code I used. echo "Write the start and end file number:" read sta end echo "$sta" "$end" for ...
1
vote
0answers
8 views

Using rsync, how can I know what attribute of source file differed from the dest which caused the trasfer

I heavily depend on rsync for remote data transfer and backup purposes, occasionally on different filesystem types. AFAIK rsync by default compares file size and modification timestamps to find out ...
3
votes
0answers
21 views

Create virtual network adapter with own MAC and IP?

I have a server with 4 different IPs over one real NIC. Now i try to setup different virtual network adapter in debian with this IPs. The Problem is, that each IP needs also a specific MAC. Otherwise ...

15 30 50 per page