TransWikia.com
  1. All Categories
  2. Unix & Linux

Unix & Linux : Recent Questions and Answers (Page 21)

Find answers to your questions about Unix & Linux or help others by answering their Unix & Linux questions.

i need to generate ansible-playbook using jinja2 with csv file in ansible

i need to create jinja templates to generate ansible playbook for that i need to read datas from csv file csv file is similar to below(file name ansi.csv)aaa,bbb,ccc,dddaa01,ansi,directory,yesaa02,jinj,directory,yesaa01,play,direvtory,yesaa02,tem,directory,yesand my...

Asked on 12/06/2021 by Vithushan Rasalingam

1 answer

curl jq get value from field name

created=$(curl -i -X POST -H 'Content-Type:application/json' --data "$(payload)" https://myurl/resource)The above return a json object{ "revision": { "clientId": "", "version":...

Asked on 12/06/2021

2 answer

How to capture screenshot of a command runs in Linux

Is there any way to capture a screenshot of the executed command output in Linux? Example: We have the command ls -lrt /root/. Whatever the output of the above command,...

Asked on 12/06/2021

2 answer

How to replace specific string in a text file with empty space

Text file(copyright) having a content like below.gems/1.8/gems/fxri-0.3.6/fxri-0.3.6.tar.gz/fxri-0.3.6.tar/lib/Icon_Loader.rbmisc/common/groovy/groovy-src-1.7.0.tar.gz/groovy-1.7.0.tar/src/examples/swing/RegexCoach.groovy......many more file path like this I want to replace filename ended with tar.gz to empty space.expected:gems/1.8/gems/fxri-0.3.6/fxri-0.3.6.tar/lib/Icon_Loader.rbmisc/common/groovy/groovy-1.7.0.tar/src/examples/swing/RegexCoach.groovyThis did not work:sed...

Asked on 12/06/2021

1 answer

Some RUN-Commands in UDEV-Rule are ignored

Running a raspberry pi and update to raspbian buster. With Jessie the same file works fine.I used the following udev-rule:# Idea from https://www.axllent.org/docs/view/auto-mounting-usb-storage/KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end"# Import FS infosIMPORT{program}="/sbin/blkid -o...

Asked on 12/06/2021 by niels

1 answer

CentOS is not detecting my Microphone, I can't save alsamixer settings

I can't record and I was reviewing my Microphone. Checking[joseluisbz@centos ~]$ uname -r5.7.8-1.el8.elrepo.x86_64[joseluisbz@centos ~]$[joseluisbz@centos ~]$ arecord -l**** List of...

Asked on 12/06/2021 by joseluisbz

0 answer

NFS Share on Centos 7 Fails to automount

I have a fresh install of Centos 7. I cannot seem to auto mount an NFS share located on 192.168.254.105:/srv/nfsshare from the Centos client. Mounting the share manually however,...

Asked on 12/04/2021 by steelmonkey

2 answer

behavior of ServerAliveInterval with ssh connection

Using ssh I am logging to another system and executing scripts there that creates new machines, and do some setups. It takes around 7-8 hours. So what happened is, the...

Asked on 12/04/2021 by kumarprd

2 answer

Convert in command line an sfd file (fontforge) to ttf, otf, woff, svg

I search a way to automatically convert an sfd file (The work format of Fontforge) to the main font format (at least otf, ttf, woof, svg). But I need to...

Asked on 12/04/2021

2 answer

scp using ssh tunneling

Usually, I would just do scp file myuser@server1:~/ (and enter my password)but now I need to first scp file myuser@server2:~/ and then ssh myuser@server2 from me into server2, and...

Asked on 12/04/2021 by Mano Mini

4 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP