0
votes
0answers
5 views

Printing an array to a file with each element of the array in a new line in bash

I am trying the contents of an array into a file with each element of the array in a new line in the file. IFS=$'\n' echo "${mtches[@]}" > sample1.txt The content of mtches is "qwe" and " ...
70
votes
4answers
14k views

How do I recover from the Heartbleed bug in OpenSSL?

CVE-2014-0160 a.k.a. Heartbleed is a vulnerability in OpenSSL. It looks scary. How do I determine whether I am affected? If I'm affected, what do I need to do? Apparently upgrading isn't enough.
-1
votes
0answers
7 views

How to remove unquoted

how to remove unquoted whitespace and most of the newlines? in sed in fact I know how to delete, but I don't know what is unquoted whitespace This is the assignment: Create a sed script called ...
1
vote
0answers
9 views

Which Linux distro supports h264/avc, aac and mp3 out of the box?

That is, after installing (or live boot) I want to be able to access h264-aac videos and mp3 audio that I have saved, WITHOUT INTERNET connection, that is installing after OS-install from a repo on ...
1
vote
0answers
10 views

iostat am I okay?

This is the result of iostat avg-cpu: %user %nice %system %iowait %steal %idle 13.65 0.00 9.98 3.86 2.22 70.29 Device: rrqm/s wrqm/s r/s w/s rkB/s ...
2
votes
3answers
61 views

Why load is high despite the fact that neither CPU or disk is overused

Top Cpu(s): 43.8%us, 32.5%sy, 4.8%ni, 2.0%id, 15.6%wa, 0.2%hi, 1.2%si, 0.0%st Mem: 16331504k total, 15759412k used, 572092k free, 4575980k buffers Swap: 4194296k total, 260644k used, ...
2
votes
1answer
460 views

Problem with maximizing windows on extended desktop (2 monitors)

I'm running Mint 11, with Compiz activated. I have extended desktop over 2 monitors. But I have issues when I need to maximize windows – it's stretched over 2 monitors, not inside one. I know ...
0
votes
0answers
4 views

How to install Solaris 11 on Sparc Enterprise T5240 from HyperTerminal

We received one Sparc T5240 Server and this is the first time experience with Sparc Servers. I never even saw them before. So i connected to Server using Cutecom app an alternative for Ubuntu to ...
1
vote
2answers
27 views

Linux collect only the modified logs every day

Linux collect the modified logs every day I want collect the log files from /var/log/ directory every day. My script will zip all the files in the directory and store it separately. But the problem ...
0
votes
2answers
48 views

How to kill a process in a terminal inside emacs

When I code, I usually use multiple buffers in emacs. Some buffers with my code, and a buffer with a terminal emulator (M-x term), There I compile, execute interpreters, etc. When I get an infinite ...
6
votes
1answer
294 views

Attaching USB-Serial device with custom PID to ttyUSB0 on embedded

I'm attempting to get an FTDI USB-Serial device with a custom PID to automatically (or even manually) attach to ttyUSB%n, without much success. The device's normal VID/PID is 0403/6001. When ...
3
votes
1answer
64 views

Strange error (?) when I run `man` command from a folder that no longer exists

Let's have a look at the followings: radu@Radu:~$ mkdir test radu@Radu:~$ cd test radu@Radu:~/test$ rmdir ~/test radu@Radu:~/test$ man ls man: can't change directory to '': No such file or directory ...
1
vote
0answers
6 views

unable to load module: disagrees about version of symbol module_layout

Following this tutorial to write my first driver. The Makefile is: # Makefile – makefile of our first driver # if KERNELRELEASE is defined, we've been invoked from the # kernel build system and can ...
1
vote
1answer
24 views

Bitmap Font data as array in C

I need to convert some X11 bitmap fonts to an array in C for a 128x64 OLED Display. I saw some fonts like /usr/share/fonts/X11/misc/9x15-ISO8859-1.pcf.gz The result should look like /* Standard ...
1
vote
1answer
133 views

ttyb serial port connectivity issues

I am having issues with a device connected to my Sun V440 ttyb serial port. How would I test the connectivity of the port to see if any data is moving across the connection? I am trying to see if the ...
3
votes
1answer
1k views

volume hot keys in Crunchbang don't work

I've spent 2 hours on this and still can't figure this out. It's driving me insane. Please save my sanity. When I press mute, the pnmixer control in the top right shows that I've pressed mute, but ...
0
votes
1answer
15 views

install latest gcc on rhel 6 x86_64

I have an RHEL 6 server with gcc version 4.4.7. I wanted to update the gcc version (I think the current one is 4.8). Yum update doesn't work. Also, SO answers for a similar question on CentOS does not ...
4
votes
1answer
25 views

How to prevent “Last Login:” message from showing up when using sftp?

In Ubuntu GNU/Linux 12.04, I have a user johndoe that is part of an sftponly group, set up to sftp to a chroot jail using Subsystem sftp internal-sftp Match Group sftponly ChrootDirectory %h ...
2
votes
2answers
125 views

“sudo service vsftpd” returns “Unknown job: vsftpd”

I installed vsftpd on ubuntu 14.04 and when I want to stop or restart vsftpd service this message showed and nothing happened in service status! root@ali-lap:/home/ali# service vsftpd restart stop: ...
0
votes
1answer
8 views

How do I `avconv` every m4a in a dir to mp3s?

So I'm trying to convert lots of m4as to mp3s, and I think the best way to do that is using avconv. The problem is, I can't seem to find any solid examples on how to use avconv. Looking at the man ...
1
vote
1answer
17 views

shadow files getting created automatically in /etc in solaris server.(SunOS 5.10)

In my Solaris server (SunOS 5.10) shadow files are getting created automatically every 10 minutes for two particular users in /etc. The content of the files is the same as /etc/shadow. Say john and ...
0
votes
0answers
8 views

Can't start programs in Cygwin

I'm trying to start programs in Cygwin, which I want to run over ssh from my Fedora 20 laptop, I'm trying to run the programs from Cygwin not ssh and they don't run. The system is Windows 7 Ultimate ...
1
vote
1answer
1k views

Broadcom wireless card in with Fedora 16

I just installed Fedora as a dual-boot (other OS in Win7) on my Dell Inspiron 1750 and, of course, the wireless card is missing firmware. The wireless card is called Dell Wireless 1397 WLAN ...
0
votes
1answer
609 views

Fatal: Module ndiswrapper not found

Getting the following error message: Fatal: Module ndiswrapper not found Problem is I did install the ndiswrapper module. I even uninstalled and re-installed it. Still nothing. Any reason? On ...
0
votes
0answers
7 views

Installation location of python modules?

How does one get python modules working on a local machine? I followed the doc here: https://docs.python.org/2/install/ to no avail. I tried putting a known working module in the following locations ...
1
vote
1answer
5 views

unexpected squid behaviour (cache for openSUSE updates)

With no previous experience I have just set up a squid proxy. Its only purpose is to prevent that all the Linux systems (openSUSE) download their updates from the Internet. A proxy can easily be ...
2
votes
1answer
47 views

CHROOT: Unable to copy files to jailed users directory from local machine using WINSCP

I've setup a chroot environment for one of my users called client on my system. I'm using WINSCP to connect to my server from my machine using public key authentication. Everything works fine, I can ...
1
vote
2answers
2k views

Linux Mint 14.1 with Cinnamon - Mouse Sensitivity not Working

64-bit if that matters. My mouse sensitivity slider does nothing, but my acceleration slider works. I'd like acceleration off and sensitivity how I like it, but it refuses to work. I have tested the ...
2
votes
2answers
35 views

How can I make xrandr changes persist?

I run this command to allow me to move windows between screens: xrandr --auto This magic command fixes my screen for me (before I run this my 2nd monitor is just an empty space where I can move my ...
1
vote
0answers
6 views

Connect a keyboard / IR controller to a command line program running in a screen

I'm trying to have my Raspberry Pi function as a GUIless music player. I've got Arch Linux installed, and use it through ssh. I've got also an IR receiver dongle, and I'm planning to use it to control ...
1
vote
2answers
14 views

yum translation of rpm -Uvh

I'm trying to understand what yum version of rpm -Uvh is. I found this question about that command and yum, but it doesn't have what I'm looking for. Looking at --help, would this be the equivalent of ...
5
votes
1answer
256 views

Realtek audio issues on OpenBSD 5.2

I am running OpenBSD/amd64 5.2 stable on a new machine, using a gigabyte motherboard with a realtek alc898 audio chipset. When I try to play any audio (sources include mpd, aucat, and cat > ...
1
vote
1answer
9 views

Host home.lan.home.lan not found: 4(NOTIMP) error in bind9 (DNS)

I have been following this guide to set up a DNS server using bind9 on Ubuntu 12.04, but after all the configuration, when I run host -l home.lan I get the following error: ; Transfer failed. Host ...
0
votes
0answers
8 views

FreeBSD 10 does not boot after clean install

Latest FREEBSD 10 does not boot after clean installation. Installed using this image: FreeBSD-10.0-RELEASE-amd64-memstick.img Used Guided Partitioning, where I selected my only hard drive, chose ...
1
vote
3answers
1k views

Iptables GEOIP not working under Debian Squeeze

I've just installed xtables-*, compiled the geoip database, but when I try to use an iptables command it always gives back the following error: Command: iptables -I INPUT -p tcp --dport 80 -m geoip ...
2
votes
1answer
42 views

How do I identify why my login hangs for 20 seconds at startup?

I've done something (I can't remember what) and now when I log in, just after entering my details, I see the background with my mouse cursor and nothing happening. Then, after about 20 seconds ...
2
votes
0answers
19 views

Proper usage of EXIT & ERR traps in bash scripts

I'm working on a bash script and as I've been going I've learned about traps, signals, function return codes and other such features I've not previously used. I may be thinking about things ...
3
votes
0answers
35 views

Caps lock doesn't take effect on all letters

I have a laptop running Debian Jessie with only the Linux console (X server not installed). On this laptop caps lock doesn't take effect on the special Danish characters æøå (I just get æøå instead of ...
1
vote
1answer
15 views

Accessing GPIO after kernel boots

my rootfs.cpio has only following files: [root@localhost extract]# ls dev init tmp dev has console only. init is cross-compiled from the program given at the end: Then I make a my image and ...
2
votes
1answer
546 views

How can I install KateSql plugin on ubuntu?

I am slightly new to Ubuntu and I just installed kate by typing sudo apt-get install kate. Now I want to install this kate sql plugin and google is not helping me. I downloaded a punch of files from ...
3
votes
2answers
32 views

Why whould xterm behave differently than x-terminal-emulator when it points to the same executable?

lrwxrwxrwx 1 root root 14 Apr 19 14:36 /etc/alternatives/x-terminal-emulator -> /usr/bin/xterm Running it using these 2 calls: /usr/bin/xterm /etc/alternatives/x-terminal-emulator First ...
2
votes
1answer
11 views

Settings when using a bridge

I have a bridge set up between my physical Ethernet interface, eth0, and the virtual interface for OpenVPN, tap0. The bridge has an IP address, and the machine can be contacted on that IP address from ...
0
votes
1answer
14 views

Adding a route with time-limited validity?

I have read different routing protocols, each one adds routes with limited time validity to routing table. Is there a method in Linux/Ubuntu, without installing any routing daemon, to add a time ...
2
votes
1answer
21 views

Ubuntu Update Manager fails

I have Ubuntu desktop installed. Every time Update Manager runs it fails: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gnutls26/libgnutls26_2.12.14-5ubuntu3.6_amd64.deb 404 Not ...
7
votes
3answers
322 views

Why is konsole reading /etc/passwd?

In relation to this question: While observing the behavior of fatrace, I notice something which concerns me. Here are the first few lines of output of the command "fatrace|grep konsole" ...
0
votes
0answers
7 views

Recent Installed Pipelight for Mint 16 — Two version of Flash Issue

I recently installed Pipelight in Linux Mint 16 Cinnamon and now I have two version of Flash. I only have Firefox 28 and no other browser. I followed the instruction from the FDS-Team ...
3
votes
2answers
96 views

Path syntax rules

I'm writing a library for manipulation Unix path strings. That being the case, I need to understand a few obscure corners of the syntax that most people wouldn't worry about. For example, as best as ...
0
votes
1answer
200 views

Start and stop tomcat through ant script which is running in cygwin

I am trying to start and stop my tomcat through ant build.xml as follows, I am running the ant script in cygwin , i get the following error D:\build-cygwin-copy_converted.xml:53: Execute failed: ...
0
votes
0answers
1 views

udev set kdbrate settings on linux with console users issue

I have a kbdrate setting as a udev rule for usb devices(keyboards and scanners that re repluggd in). kdbrate needs to be set by someone with /dev/port access which is the console user. The udev rule ...
15
votes
7answers
443 views

How do I source another process's environment variables?

If I examine /proc/1/environ I can see a null-byte-delimited string of process 1's environment variables. I'd like to bring these variables into my current environment. Is there an easy way to do ...

15 30 50 per page