0
votes
0answers
20 views

How to correct Linux file system permission?

I've recently install Elementary OS on my PC and i mistakenly installed a program named "mount management", apparently it changed my file-system permission or i guess it does (because i checked theme ...
1
vote
0answers
15 views

Echoing Backspace Characters in the Terminal

I'm working with picocom running inside gnome-terminal. I have local echo switched on inside picocom using the -e option, and when I backspace I can see that caret moves backwards, however the ...
2
votes
0answers
23 views

Cannot print text via /dev/usb/lp0 on recent printers

I have a strange problem, when I connect an old printer (HP, Epson, at last 4 years old printers) on my linux embedded board, when I type the command echo test > /dev/usb/lp0 it prints correctly. ...
0
votes
2answers
37 views

Adding color scheme to Vim

I would like to add this color scheme to Vim any suggestions on how I could accomplish that ?
0
votes
1answer
19 views

Command to compare speed of web-browsers

I was asked the following: Which one, Firefox or Chrome, downloads and renders the page http://unix.stackexchange.com/ faster. Is there a command in Linux to measure that?
-1
votes
1answer
77 views

Fail2ban consuming lot of bandwith

I have a raspberry pi on which I have a nginx and a ssh server, I have installed iptables and fail2ban in order to limit the attempts of ssh connection. The problem is that it seems that fail2ban ...
0
votes
1answer
23 views

Start aplication in local desktop from remote SSH [duplicate]

I have an issue for which the work around would be to start the application in X instead of headless. How do I make sure the app is executed on the desktop, even if I run the command from a remote ssh ...
1
vote
1answer
19 views

Setting Solarized colors on a Vagrant Ubuntu Box

I am trying to set the colors of my Ubuntu Box to match the 16 colors palette of the Solarized color theme. I have installed Ubuntu 14.04 Server, no GUI option enabled. When I ssh into this VM and I ...
0
votes
4answers
37 views

How to save in a variable the convert from decimal to binary without use an echo

I've been trying to save in a variable the value of the convert of a number from decimal to binary, like this: num1=10 echo "obase=2;$num1" | bc | tee -a register.txt but I don't want to show it ...
0
votes
1answer
17 views

What are the diffence between virsh, virt-install, and virt-manager?

I know all of virsh, virt-install, and virt-manager can manage the virtual machines. However, what are the difference between the three?
1
vote
0answers
20 views

how to cache files in chrome

I have a web application in that i want some of the files should always be cached like for atleast 24 hours in chrome browser. For that i have done some configuration in my apache webserver 2.4.9. ...
1
vote
0answers
5 views

OpenSSL 1.0.1e usage bug?

Environment $ cat /etc/*-release CentOS release 6.5 (Final) $ openssl version OpenSSL 1.0.1e-fips 11 Feb 2013 This works $ tr -dc A-Za-z0-9 </dev/random | head -c 24 > ${f_host_passphrase} ...
0
votes
2answers
18 views

How to package separately located files into a same folder structure?

When I use zip to pack files from different locations, like: zip pack.zip /home/jack/jack.txt /home/jim/jim.txt The files would be stored in "pack.zip" as the following structure: ...
0
votes
1answer
21 views

How to setup a display environment?

I'm using MNE (a program to analyse data) in Linux CentOS 6. I upgraded my system to Linux CentOS 7 and after that I was unable to run MNE GUI. Whenever I started the program I'd get the following ...
1
vote
1answer
5 views

What is the meaning of every column when executing psig command?

I try to use psig command to track signal dispositions of a process on Solaris: bash-3.2# psig 3109 3109: bash HUP caught termsig_sighandler 0 ...
0
votes
0answers
24 views

Password reset/ new user help! [duplicate]

My father bought a second hand desktop which came with Linux Mint. It logs into the GUI with no password every time it reboots but, since I don't know the password, I can't log back in without a ...
2
votes
0answers
23 views

OpenBSD and xorg: How to fully expand shrunken vesa video?

Because OpenBSD 5.5 does not appear to support moderately newer Nvidia cards (mine is a GT 610), I am using the vesa X.Org driver. Problem with vesa is that the displayed image is shrunken and ...
3
votes
2answers
65 views

How to check programatically if the Ethernet cable is plugged in?

As you know, in Windows, when we plug in the network cable, the network symbol will change to another status. How can I know whether the cable is plugged in or not via the command prompt in Linux?
0
votes
0answers
32 views

Linux (CentOS) corrupts my BIOS?

Ever since I switched to CentOS from Windows, I've had to replace the motherboard twice on my Thinkpad T430 - the system isn't able to boot or even run diagnostics or go into the BIOS settings. It is ...
0
votes
0answers
12 views

how to add root permission on my samsung galaxy s3 shv-e210s [on hold]

when i try to root this mobile from vroot. I get notice like this Your phone not root permission How can i get root perMission . Plz help me
3
votes
1answer
22 views

Is is possible to recover from the unexpected removal of the root device?

As it says on the tin, is it possible to recover from the entire removal and reinsertion of the root device (I.E. remounting it after reinsertion)? The reason I'm asking is I'm attempting to teach a ...
0
votes
0answers
11 views

Loading linux environment variables [duplicate]

I have a set of environment variables and i would like to load it automatically on each startup. As of now i am doing the following: In /etc/environment export FLEETCTL_TUNNEL=10.77.189.179 In ...
2
votes
2answers
24 views

libvirt error when enabling hugepages for guest

I'm trying to set up a VM using libvirt and KVM through virt-manager (and virsh command line) with hugepages support and I get an error when enabling the option in the domain XML. Don't know where the ...
0
votes
0answers
25 views

Can't Connect To Site Cloned with Kali Linux [on hold]

I'm using Kali's Social Engineering Toolkit's credentials harvester. I have it clone www.facebook.com and I can connect to my cloned site using the machine's internal IP address as long as I connect ...
1
vote
1answer
28 views

grep *gcc* doesn't match anything

I'm using the following code $ rpm -qa | grep -i gcc libgcc-4.8.3-7.fc20.i686 gcc-c++-4.8.3-7.fc20.x86_64 gcc-4.8.3-7.fc20.x86_64 libgcc-4.8.3-7.fc20.x86_64 $ rpm -qa | grep -i *gcc* $ I would ...
4
votes
6answers
856 views

A command to print only last 3 characters of a string

I know that the cut command can print the first n characters of a string but how to select the last n characters? If I have a string with a variable number of characters, how can I print only the ...
0
votes
0answers
14 views

Core dump in every programs in ArchLinux

It's been a few time now that I install my archlinux system on a USB Key. This key had A Fat32 partition A Ext4 partition, on which the ArchLinux system is installed Everything is great, from X to ...
1
vote
1answer
38 views

Pipes & redirection binding precedence with disjuncts, conjuncts etc?

I know of the relative binding precedence of operators ‘;’, ‘&’, ‘&&’, or ‘||’ http://www.gnu.org/software/bash/manual/bashref.html#Lists but when pipes come into the picture along with ...
0
votes
0answers
19 views

Unable to see partition after installing Mint

I installed Linux Mint 17 on a partition on my (Lenovo y40) laptop which had Windows 8.1 preinstalled (I had to enable Legacy boot in order to get past the blank screen using the bootable USB). Now, I ...
0
votes
0answers
10 views

Why can I lock the screen via manually launched script but not via shortcut launched script in Gnome 3.12?

To be clear, I want to prevent the screen turning off instantly after manually locking it in Gnome 3.12(+). I have an ok script solution that I'll include here, if possible I'd like to either launch ...
0
votes
1answer
26 views

“Spare” disk in a 2-disk mdadm RAID1 array?

I recently had a RAID1 volume fail. It had three primary partitions in it, all participating in separate, but similarly configured VGs. This configuration comes from the fact that the machine is ...
0
votes
2answers
27 views

How to Copy Only the Directories with a specific File in that directory

Main_Directory | Event_Subdirectories | *.mcp .otherfiles I want to copy all Event_Subdirectories to another Main_Directory that have the *.mcp file within the Event_subdirectory, but I'm ...
2
votes
2answers
36 views

saving the output of command line in a text file?

I am using the following command line to analyse data: unpackdcm -scr ${in} -targ ${out} This command is printing on the screen status and description about the progress in the job. In order to ...
3
votes
1answer
34 views

Why isn't Firefox 33 use GCM on our webserver?

We have a webserver (Ubuntu 12.04) with apache2 2.2.22-1ubuntu1.7. From client side with openssl: $ echo QUIT | openssl s_client -connect OURSERVER:8080 2>/dev/null | egrep "Cipher is|Protocol" ...
2
votes
1answer
22 views

Script Saving the folders names in a text file?

I have a list of foldes in a parent folders how can I save all the folders names in one text file? as the following Parent folder |...A (folder) |...B (folder) |...C (folder) |...D (folder) |...E ...
0
votes
0answers
13 views

RHEL 6.5 erroneously marking Fusion-io RAID1 card as failed

I am getting the following error every hour for a Fusion-io ioscale2 RAID1 (mirror) configuration. However, the logical volume is mounted and accessible. I do not see similar error in the ...
0
votes
1answer
31 views

How can I write a script which updates a text file?

I have made this script #PACKAGES.TXT array2=( `find . -type f -iname *t?z|awk '{print $1}'|cut -d / -f 3` ) funzioneZ() { echo -e " PACKAGE NAME: $i " } array3=( `find . -type f -iname *t?z|awk ...
0
votes
0answers
9 views

Change key mappings for xfce4-terminal

Hi I'd like to change the key mappings slightly in xfce4-terminal, maybe similar to adding Xterm.VT100.translations to .Xresources. In particular, I want to make ctrl-backspace delete the last word, ...
1
vote
1answer
47 views

reboot in the middle of the script [on hold]

I see sudo reboot in the middle of a script - meaning there are more commands after it. Is there any situation when the commands after reboot can be executed, assuming that reboot is not within an if ...
2
votes
2answers
54 views

How to exclude lines that has given columns?

There is an input file that has TAB delimited columns. We need to remove the lines which has "NA" for the fourth AND the eleventh column. Question: how can we do this in awk?
4
votes
2answers
31 views

Updating MOTD on login

I've been tinkering with my CentOS server login procedure, I want to have my MOTD update using the linux_logo program. I've already tried doing this in a few ways, but didn't get the desired effect. I ...
3
votes
4answers
289 views

Transfer files between Windows and Linux machines?

My problem is that I need to backup the files on my Linux machine to my Windows laptop. My external hard drive died, and so backing up to an external drive is out of the question for the time being. ...
1
vote
0answers
26 views

In adb logcat | grep, how to get the entire original line? [on hold]

I am using grep on the Android Logcat to only watch the lines related to my application. My command line is like: adb logcat | grep 'MyAppName' But the results I get is not the original logcat ...
5
votes
4answers
212 views

Replace a string containing newline characters

With the bash shell, in a file with rows like the following ones first "line" <second>line and so on I would like to replace one or more occurrences of "line"\n<second> with other ...
0
votes
0answers
23 views

linux mint 17 mate usb install: ntldr missing

today, I have been trying to install a desktop with linux mint 17 (xfce of mate). the install of xfce almost completed, but near the end, I got an error message saying the installation got stuck and ...
0
votes
1answer
7 views

How can I update my Gnome Extension?

I have this extension, which I created as a spin off of this one and is basically the same, it just removes the adding of buttons to the panel (I did this to make it easier to use on a computer with a ...
1
vote
0answers
29 views

Is it possible to make a symbolic link of a file in other machine?

I have a account in a server and I would like have a symbolic link of some files in my local machine. How can I do this?
1
vote
0answers
12 views

Chrooting any arbitrary program using dynamic linker?

One of the problems using chroots is getting all the binaries and libraries installed. It just occurred to me that there might be another way. The TSocks project uses a technique they call "shared ...
1
vote
3answers
49 views

Remove patterns from string using bash

I'm trying to remove some patterns from a file input string (parsing file line by line). Here is a sample string: 1: (10/17 12:49:31.175) - CONSTANT ID1 - CONSTANT ID2: RAW DATA OUT > ...
1
vote
2answers
37 views

find a specific string pattern from a file in Unix Shell Scripting

I have the below command. unzip -p GLP.K4C.S06F5.BG57218-rdf.zip | grep ":taxonomies-" | head -1 which gives me the output as, <j.2:Taxo_Version ...

15 30 50 per page