3
votes
2answers
537 views

How to record the actual running time of a program with other programs running? [duplicate]

When timing the wall time performance of an OpenMP program on Linux while other programs are running, how can I get the actual running time?
0
votes
0answers
764 views

has someone fixed libssl.so.1.0.0 undefined symbols'SSL_load_error_strings' issue or know how to fix

looks like there's a broken libssl build which is missing items python CGI needs to work. I'm getting this error ...symbol SSL_load_error_strings, version OPENSSL_1.0.0 not defined in file libssl.so....
3
votes
3answers
2k views

Removed /var/lib. Can't open Desktop

Well, I'm pretty scared now. I was trying to delete a folder by sudo rm /var/lib/texmf -r but instead, wrote sudo rm /var/lib -r I read some documentation about it, and found this thread. I ...
3
votes
2answers
106 views

Why is this OSX/BSD/GNU sed workaround not working

So sed behaves differently depending on if it is the OSX/BSD or GNU version. OSX requires sed -i '' <pattern> <file> whereas this works with GNU sed: sed -i <pattern> <file&...
8
votes
2answers
1k views

Identifying running programs that are using the old version of a library I just replaced

After installing updates to address CVE-2014-0160 (the OpenSSL Heartbleed bug), I had to take care to restart anything that might be using libssl -- many services, such as Apache and my VPN software, ...
1
vote
1answer
221 views

extracting specific substrings from string

I am trying to write a bash script. In a directory I have 2 fastq files: A-122-3.BH7WBVADXX.lane_1_P1_I24.hg19.sequence.fastq A-122-3.BH7WBVADXX.lane_1_P2_I24.hg19.sequence.fastq I just want to ...
2
votes
1answer
459 views

Can I select a region for the screenshot via keyboard in import

Can I select a region for the screenshot via keyboard in import from ImageMagick? If yes, how can I do it? If no, what can I use instead of import?
7
votes
1answer
3k views

ImageMagick (or other) for UTF-8 text to image

I'm trying to create many single-character images using convert. The purpose is to provide a plastics specialist with images to print onto keyboard keycaps. The ImageMagick documentation suggests ...
1
vote
2answers
890 views

shell script to find the combination of the array elements

I have a shell script in which I have defined an array. The array contains more than 2 elements. I need to find the combination of all the elements in my array. Suppose, if my array has the elements, {...
1
vote
3answers
6k views

ubuntu + how to install the patch command

Please advice how to install the patch command on Ubuntu Linux I download the following file , patch_2.6-2ubuntu1_amd64.deb ( from site - http://packages.ubuntu.com/lucid/patch ) But not clearly ...
3
votes
2answers
3k views

How can I tell what version of OpenGL my machine supports on Arch Linux?

How can I tell what OpenGL versions are supported on my (Arch Linux) machine?
0
votes
0answers
2k views

Mounting NFS share from Linux client on Windows domain

I've got a client (Ubuntu 13.10) joined to a Windows domain through PBIS/Likewise, serving Samba shares and allowing domain users to login with domain credentials. Outside of the Windows domain, ...
2
votes
1answer
382 views

How could I signal to a cron job to skip runs?

I have a cron job that runs every X mins and that I would like to have a way to "signal" it not to do anything if needed. Is there a standard way for this? The only idea I had is to check some ...
2
votes
1answer
217 views

Installing Linux Mint Live USB

First, let me just say that I'm relatively new to Linux, having been forced to use it since the recent death of my hard drive (although having used Linux for a few weeks now, I wish I'd tried it ...
1
vote
2answers
2k views

how to get the stream URL of flash radio

I am listening to a radio stream (flash content in a browser). I want to play this stream directly with mplayer or the like. Doing lsof -ni shows me these two lines (among others): plugin-co 13248 ...
1
vote
1answer
1k views

Terrible performance on linux mint 16 [closed]

I am having difficulty with getting linux mint to cooperate with my desktop. Specs: Mobo: Maximux IV Extreme-z CPU: i7 2600k GPU: 2x R9 290x Storage: (240GB) 2x OCZ Vertex 3 on RAID0 (Currently ...
3
votes
2answers
623 views

Replacing 3 or more digits with equivalent number of *

I want to replace any 3 or more digit string in a text file with equivalent number of *.For example: abc-1234-45 --> abc-****-45 echo "abc-1234-45" | sed 's/[0-9]\{3,\}/*/' I tried this but it only ...
12
votes
5answers
995 views

copy smallest files first?

I have a large directory containing subdirectories and files that I wish to copy recursively. Is there any way to tell cp that it should perform the copy operation in order of file size, so that the ...
2
votes
1answer
461 views

calling sigprocmask from bash

I have a process that spawn a bash command with system() while the signal mask has all the signals blocked. This cannot be fixed easily. The bash command eventually execs into a process. The all ...
1
vote
1answer
6k views

Make a “java -jar file.jar” run at startup

Hello I am running a kubuntu 13.10 distro, but I guess my question is pretty general...how to make a .jar execute in background at system start?
2
votes
1answer
2k views

iw: what's the default channel bandwidth?

I'm using the iw tool to configure a WiFi interface to sniff the air (monitor mode) on specific channel: ifconfig wlan0 down iw dev wlan0 set channel 1 iwconfig wlan0 mode monitor ifconfig wlan0 up ...
1
vote
1answer
2k views

Can't run executable file on Ubuntu, terminal expects sudo, or gives errors like “Invalid or incomplete multibyte or wide character”

I'm trying to run executable files on Ubuntu, but it's not working, although the exact same executable file works fine on others' machines, which are also running Ubuntu 12.04 like me. Based on this, ...
3
votes
1answer
1k views

How to make Arabic appear properly in linux terminal?

In Linux Mint 13, when using the Arabic language, text is shown backwards. I found a possible answer that says I should do: sudo apt-get install libfribidi0 libfribidi-dev then install bicon, and ...
1
vote
1answer
3k views

How to request a specific IP address from DHCP server?

I'm running Angstrom Linux on an embedded device (BeagleBoard-xM). I managed wireless connection via a Wi-Fi adapter. When I load its driver using modprobe, BB-xM requests an IP address from router ...
1
vote
1answer
77 views

Acting on a different display when using SSH [duplicate]

I am connecting to a Linux CentOS 2.6 computer via SSH wit the display deported on my screen (using MobaXterm). It is also possible to access to this computer "physically". However, I would like a ...
1
vote
1answer
4k views

xorg: lost screen resolution after Debian/Jessie upgrade

After update/upgrade within Debian/Jessie (affecting some 50 packages) and a reboot (after an uptime of about a month), the full resolution 2560x1440 of my Dell U2713HM has gone. xrandr is listing at ...
2
votes
1answer
246 views

mutt — multiaccount support

Can anybody help me with mutt configuration? I need to configure mutt to support mutiple accounts the same time. At this moment my config file for personal email looks like this: ~ $ cat ~/.mutt/...
2
votes
2answers
2k views

How to do alphanumeric validation for a particular column (say $2) of a file using awk?

How do I perform alphanumeric validation for a particular column (say $2) of a file using awk? For example I've tried: awk -F, '{if ($10==(/[0-9a-zA-Z]/)) count+=1;} END {print count}' final.csv I ...
1
vote
1answer
587 views

Best parameters for ext4 filesystem to handle virtualbox disk images

I have ext4 partition, which holds disk image files VirtualBox works with. They all are fixed-size images (i.e. files never change their size). They are defragmented as much as possible (with e4defrag)...
6
votes
1answer
6k views

Why can I not see some files in my USB stick on Windows that I can see on Linux?

I'm having a little problem with my USB stick. There are files and folders on the USB stick I can see and manipulate on my Linux machine (Fedora 20) but some of those files and folders appear nowhere ...
1
vote
2answers
3k views

Why is my BCM43142 chipset is not recognised and device wlan0 not found?

I'm trying to setup the WiFi connection on my Lenovo B590 but I get the following error : ifdown: interface wlan0 not configured wpa_supplicant: /sbin/wpa_supplicant daemon failed to start run-...
1
vote
1answer
1k views

IP address of a mounted network directory

I have mounted a network directory to /mnt/svr with the following fstab configuration: # <file system> <mount point> <type> <options> <dump> <pass> //svr/...
17
votes
6answers
2k views

Why do I have to cd out of a deleted directory?

On my server I have a directory structure looking something like this: /myproject/code I normally have an ssh connection to the server and 'stand' in that directory: root@machine:/myproject/code# ...
2
votes
3answers
298 views

Get exit status of a process over SSH

Not sure how to google this (I tried with some things and didn't get much) or how this is even called. This is my typical workflow: SSH to a server run something there and leave it running in ...
86
votes
3answers
19k 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
vote
1answer
425 views

File has bytes - appears to be empty

I'm having the following problem: Some text files (also some binary files) on my system are listed with the correct file size but when I open them, they appear empty. >ls -la -rw-rw-r-- 1 user ...
3
votes
1answer
3k views

Mount Realtek RTS5129 Card Reader Controller in CentOS 6.5

I have an in-built card reader that works fine under windows, but in Linux, I cannot mount the drive whatever I do. lspci doesn't show the device lsusb shows Bus 001 Device 004: ID 0bda:0129 ...
1
vote
2answers
8k views

copy files from one path to another path in linux

I am new to linux. I am trying to copy files from one path to another path. I have a text file which has all names of files in the following pattern: file-1.txt file-2.pdf file-3.ppt .... I created ...
1
vote
0answers
72 views

How to debug MPI timing problems

While running Gromacs benchmarks in different setups (intra-node vs 2, 3, and 4 nodes connected with Infiniband), we have noticed severe performance degradation. In order to investigate, we have ...
0
votes
1answer
447 views

Shrink/reduce non-lvm disk file system

I have an vmware ext4 file system that non-lvm, non-partitioned file system that resides on a virtual 300GB disk. In other words, there is no partition and the file system was probably created by: ...
0
votes
0answers
1k views

How do I Fix Samba from breaking on Kali Linux?

Okay, so I am trying to get Samba to work so I can access files from my tablet. That said, I've installed the samba package and its dependencies along with nautilus-share package to let me share ...
1
vote
2answers
6k views

Editing a Java properties file with Bash

I have the following Java properties file that is maintained by humans. # file.input = /very/old/name # file.input = /old/name file.input = /current/name file.input.default = /default/name other.file....
1
vote
2answers
95 views

watch perldoc output preserving formatting

When I use watch to follow a perlpod documentation i am writing, the formatting gets mangeled (see NAME and Synopsis sections): Every 2,0s: perldoc lib/Uki/Handlers/SOS.pm ...
0
votes
0answers
70 views

Citrix printing problem on centos - hp

I have setup Centos 6.3 - 6.5, installed wine and running Citrix app. I can print perfectly Wine based apps (i.e. wine notepad) but when printing Citrix through wine it is printing ASCII characters. ...
0
votes
2answers
342 views

Extracting with grep/sed a first pattern and then a second pattern that occured some lines before and related to the first

I'm trying to extract a specific line from a .htm file when a pattern occur ("Event 100" in my example below) but at the same time I need to retrieve also another pattern which is related to the first ...
1
vote
1answer
203 views

Installing Virtual machine on a virtual Machine

I am implementing Oracle RAC using 11.2. For shared disc option and low cost, we are planning to use Virtual Machines. I have installed one virtual machine (PARENT) Specifications: Oracle Linux 5.8 (...
0
votes
1answer
540 views

GNU Screen: Creating new window with title specified

Is there a way of creating new window in GNU screen with title specified while creating the window itself. I know that I can create a new window and then set the title using ^A A but is there a way ...
6
votes
1answer
623 views

Are Debian- and RedHat-style repositories compromised by Heartbleed OpenSSL bug?

The Heartbleed exploit (CVE-2014-0160) makes SSL connections using OpenSSL vulnerable to private key leakage. Does it mean that official update channels in RHEL/CentOS/etc. and Debian/Ubuntu shall be ...
3
votes
3answers
16k views

Restart all services without reboot

I do some group permission changes on the CentOS server, And then need restart all services. How can I restart all services safely without rebooting?
2
votes
0answers
431 views

Debian 64-bit sees less than 4GB of RAM

I have a Debian wheezy (7.4) amd64 virtual machine running under VirtualBox 4.3.10 on a Win7 x64 host with AMD A10-5700 processor. The virtual machine is configured with 16GB of memory (the host has ...

15 30 50 per page