0
votes
1answer
10 views

What are some possible causes of mmc0: error -22

I'm trying to use an SD card on an embedded linux system. I'm getting this error and I'm hoping someone can tell me what potential problems this error is referring too. I assume the error number can ...
0
votes
1answer
14 views

Route traffic for a single IP out of eth0, the rest out of wlan0 [duplicate]

I have my laptop connected to an internal network on eth0 and an external network on wlan0. How can I configure my routes to forwarded all traffic for 10.1.1.1 out of eth0, and everything else out of ...
0
votes
2answers
44 views

How do you modprobe a program?

I've been trying to get this program to work on my Raspberry Pi for the past two days and I've gotten to step 6 which says, "At this point, you should be able to modprobe v4l2loopback". When I ran ...
0
votes
0answers
17 views

Bridged VirtualBox VM: Is there an internal Host IP address

I'm running a VirtualBox VM in bridged network mode. Is there still an internal IP address for the Host? (I don't want traffic to my host going over the bridged network) To clarify, I do want my VM ...
0
votes
1answer
37 views

How to deal with high number of page faults?

I've got ~200000 page faults per second and I think it's a huge number and it affects the overall system performance. I'm using MBP with 16G of RAM. How to deal with such number of page faults (...
1
vote
1answer
36 views

Avoid running multiple programs [on hold]

Some programs, eg. firefox, allows to have multiple instances. Though, this is useful in some cases (eg. new xterm instance), I usually end up having enormous number. Is it possible to configure ...
0
votes
1answer
13 views

Has Mesa dropped support for HW acceleration on very old GPUs?

Today I've tried launching Kubuntu 12.04 LTS on my HP OmniBook XE3 with S3 Savage IX-MV video chip only to find out this: $ glxinfo|egrep 'renderer|direct' ...
0
votes
0answers
25 views

Blocking incoming connections from external ports

How can I block incoming connections from some port which exists on some internet server, not on my PC? I tried to do it by rule <port> DENY IN Anywhere in gufw firewall, but it looks like it ...
0
votes
1answer
22 views

yum installation fails because of a saved transaction

I am trying to install some packages and yum fails every time stating that the package should be installed by load-transaction command. I want yum to fetch the packages from internet and install it ...
0
votes
0answers
29 views

why my cursor do this mess?

My cursor has a square around it. This square is very noisy. It interferes with defentive selection and also it merges many windows together to make them rendered in the box. It also leave a tail when ...
0
votes
0answers
27 views

both USB ports randomly stop working

the problem usually occurs about once per day, seemingly at random, but occasionally two times, and occasionally zero times. devices connected are: a new STAR printer with it's own power supply, ...
0
votes
1answer
34 views

Restrict a user so it doesn't have permission to do anything

I am trying to create a user whose only goal is to authenticate and receive jobs and files from a virtual printer (CUPS) in his home directory. The user should not be able to do anything at all. Even ...
1
vote
2answers
26 views

Alternative to process pipeline

Shell script on which I am working is having one SQL query which fetches multiple column and multiple rows from DB: get_names() { $ORACLE_HOME/bin/sqlplus -s usr/pwd <<EOF SELECT id,...
2
votes
3answers
58 views

Add something to crontab programaticaly (over ssh)

I have a deployment script, it must add something to a user crontab (trigger a script that clean logs every XXX days), however this must only be done during the first deployment, or when it needs to ...
0
votes
1answer
35 views

difference between args in ps command

I'm new to bash and Linux and have a question. My problem is that I want to print a process name by its pid. I've googled and found few ways to do it: ps -p <PID> -o cmd ps -p <PID> -o ...
0
votes
0answers
10 views

Install Debian on G5 new drive 2nd stage boot

I have 4 old G5s and 4 old Powerbooks. I have installed Debian 7.1 on one of them and it gets stuck on 2nd stage boot (choose l for GNU/Linux, c for CD) We do not have the original hard drives (...
3
votes
0answers
20 views

“ip route get” shows wrong source IP address

I have a machine with an interface which has two IP addresses: inet 192.168.1.15/32 scope global eth0 inet 10.10.118.45/24 brd 10.10.118.255 scope global eth0:hosts4 If I execute for example ip -s ...
1
vote
0answers
6 views

How to change Toolkit in Linux Mint to GTK

I recently purged KDE from my Linux Mint 17.3 KDE edition and installed Cinnamon. I was able to upgrade it to version 18 (Sarah) Cinnamon. Yes, despite it is KDE edition. There were problems, but I ...
1
vote
2answers
50 views

How redirect stderr to variable inside if condition? Bash

I try get standard error communicate from mkdir -p $FINAL_BACKUP_DIR and send in message by logger. It make log more complete for example the user will be know he do not have permission or $...
1
vote
1answer
12 views

Yocto: Bitbake does not start menuconfig

Im trying to enable a Kernel-module in my Yocto image, as I have done this already before with an older installation where this works properly. This is the command I'm running: $ bitbake linux-...
1
vote
0answers
15 views

Abort pipeline build if no new commits

In a Jenkins pipeline script, I am using the checkout function with class "GitSCM", as in the following example: checkout( [ $class: 'GitSCM', branches: [[name: '*/<branche>']]...
7
votes
6answers
927 views

How can I delete all characters falling under /* … */ including /* & */?

I did tried sed and awk, but its not working as the character involves "/" which is already there in command as delimiter. Please let me know how can I achieve this. Below is a sample Example.We ...
2
votes
1answer
46 views

Duplicating the lines apart from the header row [duplicate]

How can I duplicate all but the first line in a file? Example: Id_animal Id_SNP Allele ID01 rs01 AB ID02 rs01 BA ID03 rs01 AA ID04 rs01 BB Desired output: Id_animal Id_SNP Allele ID01 rs01 AB ...
1
vote
2answers
32 views

can we use all the desktop environment in Debian 8.5

I install Debian 8.5 Jessie, but in the installation it show me Select and install Software exactly in the desktop environment. After taking this photo, I selected all and install it. Now, when I ...
0
votes
0answers
17 views

MRTG not filling bar for PING result

I have MRTG configured to graphs variou devices. I have added ping graph to monitor one of my device. My Task is to create ping graph of target decoy device which is connected with direct ...
0
votes
0answers
18 views

OpenSSH ForceCommand

I want to disable this kind of command executing: ssh user@host command on my server. Then, I want to run some tests and later invoke the interactive shell What I did I've found in the web that ...
0
votes
0answers
16 views

RedHat install mixing packages of different patch-level, dependency problem

Problem: I need to install tomcat6-webapps. When I do that I afterwards get "dependency errors" when running "yum update". I'm running RHEL 6.8 and when I try to install tomcat6 I will be offered ...
3
votes
1answer
36 views

“) Syntax error Invalid arithmetic operator (error token is ”

I have commands in a bash script getting data from a source text file and then adding the value of a variable to it and using it in an if/else condition. Source data file (db_count.ini) (Note: ...
2
votes
0answers
40 views

Less RAM Aailable than installed on Centos 7

I can't seem to figure out why do I have less RAM usable than installed. I am running 64bit Centos 7 with 1 RAM module of 4096MB on a Lenovo x230. Some information from the machine in question: $ ...
0
votes
0answers
7 views

when installing KODI, I get this error

Errors were encountered while processing: /var/cache/apt/archives/kodi_2%3a17.0~git20160721.0200-e1f73d5-0xenial_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) i think its because ...
1
vote
1answer
19 views

How to create a “Configuration Information [Automatically generated, do not change]”?

I was reading a thread on the bug-bash mailing list and saw: Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu ... Since this "Configuration ...
0
votes
0answers
14 views

Multimonitor (3) Graficcard support

OS: Antergos - latest graphics adapter: NVIDIA Corporation GM206 [GeForce GTX 750 v2] (rev a1) driver: nouveau desktopmanager: Gnome3 with Wayland We have 2 Systems applied with the data above. We ...
1
vote
3answers
39 views

Appending a character in the nth position of a matching string

I need to find a sed/awk command which will append a character to the nth position of a matching string HAVING LENGTH 10. For example, I need to search for the string starting with pattern 541 and ...
1
vote
0answers
21 views

Is granting write-only permission on log files to certain users a good practice?

Will it be safe to enable logging into a write-only log file on a production server? I imagine, that this would protect the log file from unwanted eyes. Are there any drawbacks of using this technique?...
1
vote
1answer
59 views

You have security/openssl installed but do not have DEFAULT_VERSIONS+=ssl=openssl set in your make.conf

On FreeBSD, ever since I installed openssl explicitly I have the following message when I install most ports that require openssl: /!\ WARNING /!\ You have security/openssl installed but do not have ...
0
votes
0answers
44 views

command works from line but not from bash [on hold]

When I run ffmpeg -ss 0 -t 0 -i "$inputfile" -c:v libvpx -crf 10 -b:v $bitrate -vf scale=-2:-2 -an "$outputfile" from my terminal it works fine if I replace the variables with actual values. When ...
0
votes
0answers
25 views

ifconfig ppp0 : error fetching interface information: Device not found?

I am trying to setup Purevpn.com's PPTP on Debian 7 in my small Ovh.com's VPS (https://www.ovh.co.uk/order/orderVps.cgi?type=ssd&model=model1&osType=linux). My goal is to be able to ...
1
vote
1answer
28 views

Problem with reading records from a file

I have the following problem: Script #!/usr/bin/ksh for unitcaseno in `cat /pims/nigel/UNLOAD-DB/xaa` do echo "String = $unitcaseno" unitno=`echo $unitcaseno | cut -d'|' -f1` ...
3
votes
0answers
36 views

Unable to change default bitrate of wireless network interface

I am trying to change the bitrate of my wireless nic (AR9565 driver: ath9k_htc) for experimentation purposes. I am running Ubuntu 14.04 LTS and my card details are as follows: wlan0 IEEE 802....
0
votes
0answers
20 views

Automated Shell Scipt for Health Check to be displayed in mail

I need to arrange the below Mail Output in Order: FILE SYSTEM MEMORY: Filesystem Size Used Avail Use% Mounted on /dev/mapper/rootvg-tmp 2.0G 81M 1.8G 5% /tmp MEMORY USAGE: ...
0
votes
0answers
8 views

How to use the man command to view documentation [duplicate]

I don't find man command to be much useful because I can't figure out what the flags are for and how all of them come together.
1
vote
1answer
21 views

Bash Built-in Regular Expression Usage

I've tried to find all line's which begin with at least 1 tab. Several Variations didn't work out. The most Basic one: #!/bin/bash FILE=emptiness { while IFS=""; read line do regex='^[\t]+' if [[ $...
0
votes
1answer
14 views

upload ssh key on github from command line

I have found a way to upload an SSH key to my GitHub account with command line, but there is small problem. I am able to do this with following command: curl -u "user:pass" --data '{"title":"test-...
0
votes
0answers
12 views

Detect / log network changes in rasbian/ linux

I just stated using raspberrypi, Trying to learn some networking and linux stuffs. I want to log or detect network changes like If my machine joined a network. If any device joined the network of ...
0
votes
1answer
13 views

How to list SVN repository name with latest revision number

I want to get for each of my SVN repository its latest revision number. My command looks like currently like this: ls | xargs -n 1 svnlook youngest This prints a list of revision numbers. But I'd ...
0
votes
0answers
9 views

Error while starting a LXC container

I am facing error while attempting to start a lxc container. I am using LXD btw. The error that i face is : ubuntu@ubuntu-blade1:~$ sudo lxc start test error: Error calling 'lxd forkstart test /var/...
0
votes
0answers
6 views

Virtual to Cloud Migration [on hold]

I have been assigned a task for the migration of Virtual Servers (Linux) to Cloud environment . Wanted to ask is V2C different from V2V migration. I am talking about RHEL 6 Servers hosted over an ESX ....
5
votes
1answer
126 views

Using wildcard in GNU Make pattern rule

Assume doc.pdf is the target. The following rule triggers a regeneration of doc.pdf whenever doc.refer is updated, but is also happy when doc.refer does not exist at all: doc.pdf: doc.mom $(wildcard ...
0
votes
1answer
20 views

Is it possible that the kernel doesn't let a already ready thread run even when there is a idle processor?

Suppose each thread's affinity is all the processors. Whenever a thread becomes ready, will the kernel attempt to find an idle processor to run it?
0
votes
1answer
22 views

Remove last n characters from -print0?

Currently I have: @find . -type f -name "img*_01.png" -print0 | python script.py -f {} is there a way to trim the last few chars like this? @find . -type f -name "img*_01.png" -print0 | python ...

15 30 50 per page