0
votes
1answer
15 views

Adding a pattern to some specific field

I need some help here please. I have the following input: MX04A; DMX04A; DMX04A; LMX04A; LMX04A; -17.2; -15.3; -14.3; -13.6; -16.8; -15.4; -16.0; -15.3; LH36A; DLH36A; DLH36A; LLH36A; LLH36A; -11; ...
0
votes
0answers
5 views

Yum is asking for inexistent updateinfo.xml hashes on the repodata directory

Any idea why I need to "yum clean dbcache metadata" frequently. I am using centos6.6 and it have the epel repo. It frequently fails to get the packages from the mirrors with 404 error until I clean ...
0
votes
0answers
9 views

xmllint display value of second attribute if first one match

my xml looks like <list1> <list2 id="abc" value="yes"></list2> <list2 id="xyz" value="no"></list2> <list2 id="def" value="yes"></list2> ...
1
vote
0answers
7 views

How to see “xterm” fonts larger on HIDPI displays?

After several years of happy usage of different terminal emulators like Konsole, Gnome-TERMINAL, and lately XFCE Terminal in their appropriate desktop environments, I decided to use good old xterm ...
0
votes
0answers
24 views

Strange cut behavior

I'm using cut (GNU coreutils) 8.24. The command: echo "TEST=test" | cut -d"=" -f2- outputs Ttest. I don't think this is the intended behavior. Am I using it wrong or is there something wrong with my ...
1
vote
0answers
7 views

Chroot Users to /opt and subdirectories [duplicate]

I'll make this short and hopefully I make sense. Im trying to give a user ssh access, but, he/she must only be able to access /opt and the few subdirectories that live under it. However, here's ...
1
vote
0answers
27 views

How to use regex inside exec with find?

Is it possible to use regular expressions based on the result (file name) inside the exec argument with find? I want to be able to "exec" based on parts of the argument, like: find . -name pattern ...
0
votes
0answers
7 views

ddrescue recovering 0B but drive appears in device manager. Is it failing to connect?

I guess that this is a variant on a previous question "Is this ddrescue command doing anything?" Apologies for going over similar ground. I have a failing 2TB Seagate Barracuda drive which came from ...
2
votes
1answer
11 views

Gnome-tweak-tool — cannot read Typing Options due to ellipsized text

I would like to use the gnome-tweak tool to remap some of my modifier keys (alt/win/meta/super or how they're all called..) My problem is that I can't really read what the options in the drop down ...
0
votes
0answers
6 views

Why is my WiFi card unclaimed by drivers in UbuntuMATE?

The title says the main issue, my Realtek 802.11n WiFi card isn't being claimed by the drivers from here. I installed led the drivers using the install.sh script given in the decompressed tar.gz. ...
0
votes
1answer
8 views

How I can install Debian Xfce 4.12 in Debian 8

Debian 8 will come with XFCE 4.10 but I like the version 4.12, anybody can guide me on how I can install it in Debian 8?
1
vote
0answers
6 views

htop CPU time vs top CPU time

Both of the following pictures were taken with just seconds in between. htop shows 8:59.27 as consumed CPU time, while top shows it as 14:45:50 which seems legit. That's OS X 10.10 running on eight ...
0
votes
1answer
26 views

grep also returning non matching lines

I'm trying to grep the output of strings and only find lines that start with a certain number of = chars. I tried strings data.txt | grep ^=* Sample output: 1~{, WX2 };K,< ========== ...
1
vote
0answers
8 views

How to deny access for virtual directories in .htaccess for all IP, and accep for 1 IP?

When you need to deny access to folder for all IP you should to put .htaccess in this folder, which must contein: Order Deny,Allow Deny from all Allow from 1.1.1.1 You can do it in virtual hosts ...
0
votes
1answer
16 views

Caps Lock LED not working

I recently installed kernel 3.14.27-100 on my Fedora 19 system and now I no longer get a Caps Lock LED when using virtual terminals. (It still works on X system ). Also, it works fine running kernel ...
1
vote
0answers
10 views

Error mounting NFS unit between synology server and RaspberryPi client

I'm trying to mount an NFS (v4, or v3.. but get the same error...) from a Synology Server to a RaspberryPi client. But I get this error: mount -t nfs4 IP_address_of_server:/volume1/nfsnvf /mnt/nfsnvf ...
0
votes
0answers
4 views

GSS-API error - only on one client authenticating to Kerberos

When authenticating to kadmin with one client of many, it fails with kadmin: GSS-API (or Kerberos) error while initializing kadmin interface. I've seen this error attributed to NTPD sync errors, but ...
0
votes
1answer
7 views

Network Install Debian on a VLAN

My lab is on a VLAN. If the machines are connected to the VLAN they can connect to the Internet. If not they can't. Installing the VLAN package enables network connectivity. However, I don't know how ...
1
vote
1answer
35 views

Why does man page completion fail after su?

I have a default Debian 8.1 installation. I do su man apt<TAB> but get nothing. I do see the manual when I write man apt-get in both modes: as user mas and as root. However, tab ...
1
vote
1answer
28 views

How to apt-delete-repository?

I would like to run the reverse of this command to remove the non-compatible repository in Debian 8.1 sudo add-apt-repository -y ppa:nemh/systemback where the command add-apt-repository is in the ...
0
votes
0answers
5 views

Uninstall MySQL without removing HHVM on Laravel Forge / Ubuntu 14.04

Since I maintain database and web servers separatly, I wanted to have my Forge's maintained web server without mysql, as it tend to use a lot of memory, even if I don't use it. Trying to run a sudo ...
1
vote
0answers
14 views

Network Configuration for Rocks Cluster

So I'm trying to set up a Rocks cluster and seem to be failing at the network configuration part, as I can not get an internet connection in my final install. So the address of that computer that ...
1
vote
0answers
14 views

Can't set xrandr brightness and gamma correctly

What is wrong? $ xrandr --output HDMI-1 --gamma 0.6:1.0:1.6 --brightness 0.76 $ xrandr --verbose | sed -n '/HDMI-1/,/Brightness/p' HDMI-1 connected 1920x1080+0+0 (0x6c) normal (normal left inverted ...
0
votes
0answers
10 views

Airmong-ng detecting driver but not chipset

So I'm running airmon-ng however it detects my interface and driver but not my chipset. Should I reinstall the drivers? Not sure if I should leave it like that or try and make sure something shows up ...
0
votes
2answers
9 views

Viewing Multiple Data Streams From Application

I am running latest Ubuntu LTS and wrote an application that interfaces with a machine. The machine has multiple sensors and several PID loops for temperature control. The data comes in very fast, ...
0
votes
0answers
13 views

Why does my USB 3.0 mass storage keep disconnecting randomly?

Recently, I retired my old Raspberry Pi and switched to a NUC5i5RYK running Debian Jessie with a 4.1.1 Linux kernel compiled from source. It has a 3.5'' 2TB WD Red series (WD20EFRX-68AX9N0) HDD ...
0
votes
0answers
24 views

Need a consultant to help wtih uucp configuration [on hold]

We need consulting help with uucp configuration. Anyone interested?
0
votes
1answer
19 views

Reload network interfaces without rebooting

I'm doing a BASH script for Arch Linux in a Raspberry Pi 2. The thing is that in some point I'd like to reload the network interfaces without reboot and have my new named network interfaces (en0 and ...
1
vote
2answers
18 views

How to reset $PATH on CentOS 6.5

I had a server restart and since then I am no longer able to run any commands under SSH. Any command will just return something like: -bash: ls: command not found I realize my $PATH must have been ...
1
vote
2answers
27 views

Best way to make variables local in a source'd bash script?

I have a bash script that generates a report on the progress of some long-running jobs on the machine. Basically, this parent script loops through a list of child scripts (calling them all with ...
1
vote
1answer
20 views

The Deny the permission of mounting any drives to a user

I'm using Linux Mint 17.2 Cinnamon. There are multiple partitions on /dev/sda. /dev/sda1 is where the system resides, /dev/sda2, ..., /dev/sdaX are NTFS partitions. There are two users admin and ...
2
votes
5answers
40 views

bash expanding to same value instead of line by line value in sed command

I have a file containing numbers in it say numbers.txt as follows. 9374541632553 51243747879841 32030098896914 84654557358238 11000656847765 I want to convert it to the following format. ...
1
vote
2answers
32 views

How to number a string in each line of a file

Given file.txt that looks like this: line_ some text line_ some text line_ some text How can I number the lines like this with Bash: line_1 some text line_2 some text line_3 some text Here is my ...
1
vote
0answers
17 views

XZ - Cannot allocate memory

If i run this command: XZ_OPT=-9 tar --xz -cvf files/compressed/xz//archive.tar.xz -C files/original/ . Get this message: xz: (stdin): Cannot allocate memory tar: ...
0
votes
0answers
10 views

How can I confirm download status for yum update on RHEL5/CentOS5?

I have an older server/appliance running CentOS 5.x. When I run updates on it, yum shows something like this: The screen stays like that until all packages are downloaded -- no status or progress ...
1
vote
1answer
11 views

Mutt authentication fails because username string is malformed

I'm trying to set up mutt to work with our internal email server. Our user names have the form user@domain.lan But when mutt tries to authenticate, it appends the mail servers url to the username ...
1
vote
0answers
14 views

Create an ARGB struct for C header from a PNG

I need to update a logo bitmap to an updated logo. The existing code uses a C header which is loaded via XChangeProperty. I have looked into imagemagick and the Gimp in order to convert the updated ...
0
votes
0answers
11 views

gnome 3.x - how to make static workspaces and use numpad for navigating them

I have decided to try out gnome 3.x for a while, as I have been using unity for the most part. But I have become accustomed to the 2d grid workspaces in unity, and I can only think of one way I can ...
0
votes
2answers
7 views

Compile mex files for spm12 in Matlab r2012a student version

in 2012 I bought a student version of Matlab (r2012a, 32bit) which I have now installed on my Ubuntu 14.04.2 LTS. This far, everything works. However, I would like to install SPM12 (a software used ...
1
vote
2answers
48 views

how to go mouseless [on hold]

I would like to improve my efficiency. I recall seeing some tool to use gui applications on linux with the keyboard, but I do not recall much else about it! Please advise how I can go mouseless(for ...
0
votes
1answer
31 views

Help with a AWK function

I have problems with AWK command. When I used this code is: $ awk '{a[NR]=$1} END {for (i=0;i<NR;i++) {B=a[i+1];A=a[i];C=(B-A);D=int(C/16)} {for (j=0;j<=D;j++) ...
0
votes
0answers
20 views

Can I use old partition from windows for linux programs?

I've managed to install Windows 7 and Ubuntu 14.04 with dual boot. I did this by shrinking the partition from windows (C:/) and managed to get 20 GB for Linux. However I also have another partition ...
0
votes
0answers
9 views

Ubuntu / SFTP: Enable Access for User B to a subdirectory of User A's home [on hold]

Can anybody here give me a step by step instruction on how to achieve this: UserA (group: UserA) can access (upload & download) files in: /home/UserA/ (I am using WinSCP for this, this already ...
0
votes
0answers
5 views

How should I upgrade php5.3.20 to PHP 5.4 or higher than in Centos 5.3?

I build a webs application by using Codeigniter3 which required PHP5.4 o higher than this version and hosted in Centos Linux 5.3. So how should I upgrade PHP5.3 to higher version? However what is PHP ...
1
vote
2answers
11 views

How to pass an argument from a bash script to 'x-terminal-emulator -e bash -c'?

Let's say I've got this script : x-terminal-emulator -e bash -c 'echo hello > ~/text' I call it foo.sh and make it executable. If I execute this script I'll have a text file in my home folder ...
2
votes
1answer
14 views

Why does “cp -R --reflink=always” perform a standard copy on a btrfs filesystem?

Btrfs support Copy-On-Write. I tried to use that feature to clone a directory: cp -R --reflink=always foo_directory foo_directory.mirror I expected the command to finish almost instantly (like a ...
1
vote
0answers
14 views

Can I make cross-computer sharing compatible with tinfoil-hat security (password managers, email, etc.)

Preface: I realize the following is asking for tinfoil-hat type security, but I'm really curious for answers to my questions -- not suggestions to enable two-factor logons on gmail, etc. and call it a ...
0
votes
0answers
11 views

apt-get update on Debian 8.1 failing after fresh install [on hold]

I have just installed a 64-bit version of Debian 8.1 which is failing when i try to run apt-get update. # apt-get update Hit http://ftp.dk.debian.org jessie InRelease Hit http://ftp.dk.debian.org ...
2
votes
5answers
226 views

How to add new lines when using echo

Why the following command does not inserts new lines in the generated file and what's the solution? $echo "Line 1\r\nLine2" >> readme.txt $ cat readme.txt Line 1\r\nLine2
2
votes
4answers
84 views

Multiple files - awk command filter

I use a script say; filter1.sh which contains awk command; bzip2 -dc File_1.tsv.bz2 | awk -F '\t' 'BEGIN {OFS=FS} { if (($7) > 50) print $0 }' > File_1.tsv bzip2 -dc File_2.tsv.bz2 | awk -F ...

15 30 50 per page