0
votes
0answers
2 views

cleaner script to recursively replace a string in all directories and file names

I want to replace a string with a different string in all directory and file names, recursively. So if I want to replace foo with bar and have this file: foo_project/my_app/old_foo/start_foo.sh I ...
0
votes
0answers
4 views

How can I change the connection I saw in ifconfig?

It appears I have approached the problem. In Linux Mint 18 64-bit when I type in ifconfig there is enpxxx (I typed in xxx instead of real) lo and ppo and some sites load while others don't. When I ...
0
votes
0answers
6 views

Crontab and python script

On raspian I created a crontab file using the following command: sudo crontab -e Added the following lines to cron @reboot sudo /etc/init.d/cron start 0 * * * * sudo /usr/bin/python3 /home/pi/dev/...
2
votes
2answers
16 views

Portable POSIX shell alternative to Linux seq(1)?

I've noticed you can't really count on seq(1) being available on anything but Linux. What's a simple reimplementation of seq(1) I can bring with me written in POSIX (not bash) shell? EDIT: Note that ...
0
votes
0answers
5 views

Debian XFCE, print dialog does not shows 'Quality Option' and others settings

Trying to print in Debian 8 XFCE the system print dialog does not shows a lot of settings that can configure the print process accurately. But, using another Debian based distribution, like Ubuntu or ...
1
vote
1answer
21 views

Alternative to Google authenticator

I've set up Google authenticator as 2FA for ssh and it works great, but authenticator app for Android is not open source anymore. Is there a good real open source alternative?
0
votes
0answers
6 views

Cannot use Samsung phone from inside virtual machine

The same phone will work perfectly fine on a machine running native Windows, but things simply do not work when passing the device through to a virtual machine. I installed the drivers as usual, but ...
0
votes
1answer
7 views

How does OpenSSH determine the choose the host key algorithm?

After updating raspbian and all of its libraries I noticed something different about SSH. When I delete the 'known hosts' file in my home and ssh into my box it provides me with the hosts public key ...
-2
votes
0answers
14 views

meaning of commands in solus

I am using solus operating system. And was executing a C program. while compiling, I came across a problem, so I searched internet to find solution. Where I found the following command as solution to ...
0
votes
0answers
7 views

HDD docking station not recognized if already switched on

I bought a HDD docking station for two HDD https://www.amazon.it/gp/product/B00LM5N78E/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 , but if it is already switched on before connecting to a PC or ...
0
votes
0answers
8 views

use VBox machine as proxy

i want use Whonix gateway as proxy in my deiban physical machine with this config: debian > whonix-gateway > physical eth0 port > tor > internet this is it possible with virtualbox?
0
votes
0answers
7 views

Lubuntu - Cannot poweroff laptop when using swap

I'm using Lubuntu 16.04 on my Notebook HP Pavilion g6-2305sl, and I'm having some troubles apparently (I'm not really sure) connected to swap usage. I boot up with the command line login shell and ...
0
votes
1answer
13 views

RedHat + what is the variable ARC in the /etc/sysconfig/clock file

from redhat doc we can see the following: The /etc/sysconfig/clock file controls the interpretation of values read from the system hardware clock. ARC=, where is the following: false or no — This ...
0
votes
0answers
11 views

Command ran as wrong user on boot while explicitly being told to run as root

So I've installed Syncthing and I'm running in a lot of problems getting this program to run as root on boot. For some reason it always runs as the default user ( thom ), but I boot into root and tell ...
0
votes
1answer
4 views

tmux icon plugins not displaying in status bar

I've installed TPM and am running it last and so on but none of the icons from the icon plugins are displaying correctly, nor do several other things I've added, I don't know what's going on I've ...
2
votes
2answers
27 views

Hide arguments of commands in ps

I run an application on a linux server, and when I run the application I supply the password as a command line, like this: ./myapplication --smtp-password mypassword In our application, we didn't ...
1
vote
0answers
9 views

Can bluez run hooks on connect/disconnect

Is it possible to get bluez to run hooks when a device connects/disconnects? I'm setting up a raspberry pi to broadcast sound from a TV to Bluetooth ear phones. I want to add a pulse audio lookback ...
5
votes
1answer
64 views

Why isn't rsync using delta transfers for a single file across a network?

I have looked at this question and this question, but they do not seem to address the symptoms I am seeing. I have a large log file (around 600 MB) that I am trying to transfer across a cellular ...
0
votes
0answers
5 views

Kali linux: I cannot connect from remote system using xrdp and mstsc

I have some trouble I want to connect to kali from remote system that is the Windows7 using xrdp and mstsc. so I installed xrdp service and run, next I tried to connect from windows, but it didn't ...
0
votes
0answers
6 views

Widget is not showing in screenlets

I have installed screenlets on my linux mint pc. But as you can see there is no widget in the screenlets manager. It is totally blank since I installed. Why no widget/screenlets is not showing. Or how ...
0
votes
1answer
18 views

wrapper script: fork: retry: No child processes

"myapplication" needs some setup or clean up done, so I use the following wrapper script: #!/bin/bash echo "Do important set up stuff" myapplication echo "Clean up" and put it in my path, named "...
4
votes
5answers
137 views

Defining the start and end point of a loop in bash

I have a directory with folders sequentially numbered 1-1000, however I want to perform an action for some of the folders in this directory. i.e folders 1-50. How do I define the start and end point ...
2
votes
3answers
45 views

Bash script : ls command not found

Under Arch USB iso, zsh, running the script ./test containing : #!/bin/bash PATH=$(dirname $0) ls $PATH returns ls: command not found Any idea how to fix this ? EDIT : ls alone works but ...
1
vote
4answers
62 views

Comparing multiple options in a bash (string)

I'm trying to enable only certain options when using the read command, and to exit the script if a wrong possibility was entered. Tried many possibilities (array, variables, syntax change), but I'm ...
0
votes
0answers
28 views

init=/bin/bash times out after minute?

I'm trying to debug an ARM based device running a form of embedded Linux (arch) by setting grub to mount: rw init=/bin/bash It boots into a root shell as expected, but after about a minute, the ...
0
votes
0answers
16 views

merging specific lines in 3 files by secific pattern

i have 3 file like these: file 1: ko00980 Metabolism of xenobiotics by cytochrome P450 (5) ko:K00121 frmA; S-(hydroxymethyl)glutathione dehydrogenase / alcohol dehydrogenase [EC:1.1.1.284 1.1.1.1] ...
0
votes
0answers
4 views

vpnc split using an all except rule

I have vpnc installed and working. I have a split VPN working such that I can split 10.0.0.x and 10.0.2.x to use the VPN while all other addresses use the local network. I am trying to figure out the ...
0
votes
1answer
14 views

Unrecognized mount option “uid=33” or missing value

I'm trying to mount a partition with -o option, however I get this error root@blackbox:~# mount /dev/sda1 /media/ownclouddrive -o uid=33,gid=33 mount: wrong fs type, bad option, bad superblock on /...
0
votes
0answers
17 views

SSH path clutter

When using SSH, my path seems to contain all sorts of additional, strangely formatted info. This started happening a while ago, I'm not sure if any software updates caused it. How do I get rid of this ...
2
votes
2answers
70 views

Replace character on the specific position in

for example I have scv file which looks like a1, b1, c1, d1 a2, b2, c2, d2 a3, b3, c3, d3 What I want to do is to replace the first comma , with the semicolon ;. The position of first comma can be ...
0
votes
0answers
19 views

howto perform a concatenaned command and set result on variable

I need to build a command concatenating other smaller string values: function processES { local status=$KO_UNKNOWN local method="GET" if [ ! -z $1 ]; then method=$1; fi local curl="curl -s -...
0
votes
0answers
6 views

Virtual console hangs after loging

I've been working on my fresh Arch linux install, then I rebooted and now when I login in the virtual console for the first time (X isn't installed) just after boot (root, password) the console just ...
0
votes
1answer
17 views

Start Docker container and open web browser on host

I recently faced one non-trivial (for me) case. Maybe you know any way to solve it. I have a shell script that runs Docker command to start the Ubuntu container, which ends up with running guest Bash ...
0
votes
0answers
20 views

Loading iptables rules on boot [duplicate]

I'm using Debian Jessie stable and I wanted to make it so it uses my own iptables rules immediately on boot. I've tried the following: iptables-save > /etc/firewall.conf echo 'iptables-restore &...
0
votes
1answer
30 views

Problems with new Ubuntu installation

I recently bought a new HP Spectre x360 laptop and installed Linux (Ubuntu 16.04 LTS 64 bit) for the first time. I am seeing various bugs. I don't know if the problems are due to: (a) Hardware ...
0
votes
0answers
34 views

Is there anything suspicious in my ifconfig?

I'm on Linux Mint 18 64-bit and if you check my old posts I was having problem of some sites loading and others loading forever. Below is the output of ifconfig, is there anything strange there? ...
0
votes
0answers
17 views

How to make sure that certain devices always use the same device file?

When mounting a hard drive via UUID and another via device file, how can I make sure, that the first one is always /dev/sdaX and the second /dev/sdbX and not the other way round? Some explanation of ...
0
votes
0answers
10 views

mount error: could not resolve address for diskstation: Unknown error

I've been quite happily using the following command to mount my NAS box: sudo mount.cifs //diskstation/data ~/mounts/data -o user=dave but I've just started getting a mount error. If I run the ...
0
votes
0answers
15 views

Can't push docker image into private repository

I'm trying to push my image to my friend's private repository but I keep getting this error: Index response didn't contain any endpoints I have added --insecure-repository to my launch config ...
2
votes
2answers
210 views

CentOS 7 - yum install not working

Whenever I want to use command yum install <packagename> I get error: No package available For example, [root@cpanel1 etc]# yum install autossh Loaded plugins: fastestmirror Loading ...
1
vote
0answers
29 views

What is the purpose of libimf.so?

I am running Ubuntu 14.04 and am having various issues with libimf.so (see my questions on Ask Ubuntu: 1, 2). While waiting to sort those issues out, I am trying to figure out what libimf.so is ...
0
votes
1answer
14 views

journalctl list until last unit start

A common task one wishes to do, when debugging a service that fails to load, is to look at all log from the last time the service was started. For example, given Jul 25 08:18:20 raspberrypi ngrok[...
0
votes
0answers
17 views

cat: jobs_list: No such file or directory

below is my script generated by a program name "Raccoon". I need to run this script on the cluster. I have to run it with the following command: qsub script.sh The cluster generate the following ...
1
vote
0answers
11 views

“No protocol specified” when starting Xorg via lightdm, but works when started directly

To start the X server on boot, use of a display manager such as lightdm seems to be the preferred method. However, if I start X by starting the lightdm service, I get a "No protocol specified" error. ...
0
votes
0answers
7 views

Count of table as file-trailer [migrated]

I'm spooling out a table in EDW to a text file and I need the count of table as the file-trailer. Below is the spool code I'm using Set pagesize 0 Set linesize 2098 Set trimspool on Set heading ...
0
votes
0answers
37 views

What may go wrong while copying file? [on hold]

I am writing a library as part of learning a new language which copies a file. The task is to copy the file content as using the nodejs Stream API. I am interested in knowing what can happen wrong ...
0
votes
0answers
9 views

Which mp3 tagger for linux command line Support utf-8

I'm using id3V2 but it not support (: , space , arabic , persian and other languages) is there any better mp3 tag changer for linux command line?
3
votes
1answer
23 views

switch window manager while running

Years ago (around 2000) I saw a guy at a Linux meeting do an amazing X-windows trick which I've never seen repeated since. While he was logged into his default window manager (let's say Gnome), he ...
0
votes
0answers
4 views

Gentoo: Audacity using ALSA without Pulseaudio does not record audio

I am running Gentoo Hardened 4.4.8 on an AMD FX 8350 using an AMD Azalia audio chip. I have installed ALSA but not Pulseaudio, and I can hear the audio input from my microphone just fine if I unmute ...
-2
votes
1answer
9 views

xdg-open open Url in browser with & [on hold]

How To open Below Url in browser by using xdg-open. http://w57.myfranconnect.com/squirrelmail/src/read_body.php?mailbox=INBOX&passed_id=683&startMessage=1

15 30 50 per page