All Questions

0
votes
0answers
7 views

Show music cover art in PCManFM

A similar question has already been asked here: How do I enable thumbnails in PCManFM? Unfortunately, neither kirill-a's solution, nor the installation of tumbler could solve my problem. Thumbnails ...
6
votes
4answers
288 views

How to sort by odd lines then remove repeated values?

I have the following type of file: transcr_25793 + YAL039C - transcr_25793 + YAL037C-B - transcr_20649 + YBL100C - transcr_7135 + YBL029C-A - transcr_11317 + YBL067C - transcr_25793 + YAL038W + ...
0
votes
0answers
17 views

Kali/Debian live-build: ISO that auto-mounts device [duplicate]

Using Kali's live-build, I would like to create a bootable USB drive and auto-mount /home. I don't want to use persistence, as I want to make sure all changes outside /home are ephemeral. I think the ...
2
votes
1answer
20 views

Linux specific problem with Write Protected Compact Flash

I am having a version strange problem with a 4GB ATP Industrial Grade Compact Flash Card. I am trying to use it as the boot storage for a ALIX single board PC. When I insert it into another Linux ...
-3
votes
0answers
57 views

Storing result in variable (unix shell script) [on hold]

In the script below, I am able to get result till job(line no-5) properly. I am getting correct result in /tmp/jobname.txt file. However, I am getting error while storing result in startime variable. ...
1
vote
0answers
39 views

ssh ethernet tunneling as normal user

I would like to connect 2 tap-devices. The tap-device on the remote server is owned by "user". This is my test-command: # ssh -oTunnel=ethernet -w0:0 user@server But it does not work, I get this ...
2
votes
1answer
30 views

ntpd not running

Have confirmed correct server is configured in /etc/ntp.conf It can ping that server. It definitely has the ntp package /home/admin# dpkg -s ntp Package: ntp Status: install ok installed But the ...
2
votes
4answers
41 views

Question about behaviour of find

I have trouble deciphering the man page of find and especially the part that states the order of evaluation of logical operators that link the tests. The man page says: OPERATORS Listed in ...
0
votes
2answers
58 views

Creating a temporary file from standard input

Say I have a standard input stream of file contents and a command that expects a file name as an argument and I want to run that command on a file made up of the standard input stream’s file contents. ...
1
vote
2answers
24 views

Removing files in a folder with specific pattern

I have 20 Files in a folder. 10 files naming pattern is PTT-20190118-WA0010.wav and other 10 files naming pattern is PTT-20190118-WA0010_s.wav. How to delete files with "PTT-20190118-WA0010.wav" ...
1
vote
1answer
6 views

Remove debuild buildsystem=cmake linker flags

I'm trying to create a *.deb file from debian using cmake with a mingw cross-compiler. CMake's compiler test fails when using dpkg-buildpackage. Building normally is fine: mkdir build && ...
0
votes
1answer
22 views

Script “7 days log tar and then remove the 7 days logs and exclude the tar file after next 7 days”

I am trying to create a script such that it could tar.gz all the previous log of per 7 days log and exclude the tar file in next run. Is the script ok or should I have to make a change find /home/...
0
votes
0answers
9 views

Weston—run program on desktop start

I have successfully installed wayland/weston on my system. I would like to start a program (chromium) whenever weston starts. Right now: weston-lauch starts the desktop, from there I can start a ...
0
votes
1answer
28 views

When does the loop starting with while [ -n “$1” ]; executes?

I have a shell script with while loop starting with while [ -n "$1" ]; do I know that $1 refers to the argument right after the name of the script, ie firstargument, when I execute ./myscript.sh ...
0
votes
0answers
18 views

Xen on Ubuntu 18.04 with multiple private NAT networks

This is more of a guide for people who want to set up a VM hosting environment via XEN than it is a question. However i would like to know if there are better ways to do it and if it is secure enough. ...
0
votes
0answers
21 views

access windows application from linux [on hold]

Is there any way for a (preferably) perl script on linux to talk to a windows application. The app in question comes with VB code samples.
0
votes
0answers
15 views

Samba shared folder over openvpn very slow - Linux OS

Recently I've installed Ubuntu 18.04 and I've noticed that sharing a samba folder from a Linux server over a openvpn tunnel is very very slow. Tried to avoid using DNS, but still have no results. ...
16
votes
1answer
1k views

man does not work (too many arguments)

I get this an error when trying to run man on a Linux system: $ LC_ALL=C man man man: Too many arguments Try 'man --help' or 'man --usage' for more information. My man command doesn't seem to be an ...
8
votes
1answer
307 views

diff showing only differences inside line

I want to compare lines in two files, but to minimize noise in the output, I want only the actual differences in the lines to be printed. For instance, given the two files below: a.txt a b c d e f ...
1
vote
1answer
28 views

C++ Build 32bit binary on 64bit system

So I have a project that I want to be able to build as a 64bit binary as well as as a 32bit one. My machine itself is 64bit and the 64bit compile works just fine. I am using cake to build my ...
0
votes
0answers
20 views

I tried to use wireguard docker image,but I failed

I deleted all the datas in VPS,and reinstall a new Centos 7 and I downloaded the lastest stable kernel source code 4.20 and extracted it to the source directory which is /usr/src,then I builded it.the ...
-2
votes
1answer
17 views

Suppress NULL field from printing anything in mySQL [on hold]

I have a table in mySQL created from phpmyAdmin of type blob. The fields that are NULL have "Image" being displayed. How do I get rid of this, so it prints nothing? Just a blank cell for place where ...
0
votes
0answers
29 views

sssd: AD user cannot login in RHEL 7

I can switch to the mentioned domain user with su command from the server, but ssh login is failing. The user domain group is already added in sssd.conf file under "simple_allow_groups" The errors in ...
0
votes
1answer
43 views

Jenkins pipeline: scp tries to copy to other remote, Host key verification failed

I use Jenkins in ubuntu server. In this case, I want to copy a file to another remote server. I use SCP command inside sshagent the Jenkins pipeline. I tried the solution from unable to scp in ...
0
votes
1answer
24 views

Rsync shows files being copied, but the destination directory doesn't have the files

I put a new drive in my NAS(Freenas) and need to copy the contents from another drive. I'm signed in as root via SSH. I've been using the command rsync -avP /mnt/Red3TB/Temp/Videos/ /mnt/Red4TB/Temp/...
0
votes
0answers
16 views

xml_grep exclude element that contains an element

I'm trying to remove all elements from an XML file that contain a certain other element. Here's a very simplified version of what I'm trying to do. Suppose I have the XML file <RootEl> <...
0
votes
0answers
7 views

How to use “netatalk” to share files between my Mac and AWS EC2?

When I use the ubuntu machine at the office, a very nice feature is that I can share files in my finder just by drag & drop between my laptop and the ubuntu machine. But it doesn't work when I try ...
0
votes
0answers
7 views

MATE clock applet and notification area are too narrow

I am running Debian Buster with MATE 1.20.3 on a laptop with a 15.5 inch monitor at a resolution of 3840x2160. No matter what I set the DPI to in Appearance Preferences, the clock applet and the ...
0
votes
0answers
22 views

Menus and Return commands in Shell; Stuck in a loop

I have a menu that uses the case command to switch to a sub-menu that then calls to a shell script (.functions) as follows: . .functions loop=z while [ "$loop" = z ] do clear tput cup 3 12; echo "...
0
votes
2answers
28 views

Where can I find a long form lecture (or series) on terminal commands between versions and flavors of Linux? [on hold]

Does anyone have a suggested long form video / manual of the different terminal commands between distros (window server, app manager, etc)? It's really hard to take the plunge to open source as a ...
1
vote
1answer
13 views

Everytime I press Crtl+f Xterm opens despite not being a global keybind; how can I disable this behaviour?

I think some programs use xterm so I don't want to uninstall it, but I use bash and Konsole for my terminal, so I don't need it bound to a key, especially Ctrl+f as it makes performing searches ...
2
votes
0answers
12 views

Blacklisting modules in modprobe.d and kernel params is not working

Ok, I have read and followed the instructions on the following posts, however, my kernel modules are still being loaded... Kernel module blacklist not working How do I disable a kernel module ...
0
votes
1answer
24 views

Sort Command in Hidden Shell Scripts [on hold]

I have a file called student_data 1001:Jones:Alice:Accounting:105 1320:Moore:Sarah:Mechanical Engineering:80 2100:Olson:Timothy:Computer Systems:66 1520:Mitchell:Barbara:Electrical Engineering:34 ...
0
votes
0answers
15 views

Switch user providing own password

While switching to a privileged user, we enter the privileged user's password. Can I use my own password instead? Current flow: user1 -- > serviceAcctUser (serviceAcctUser password) Required: user1 -...
0
votes
0answers
20 views

Is it possible to dynamically add to a tar.lrz file?

A bit of a basic problem, I'm slightly embarrased I'm running into it, however man lrztar didn't show me any commands for this. Basically, lets say I've got an archiving station which handles ...
-1
votes
1answer
27 views

Perl script not found when executed from a different directory than the current one

I am using perl64 on Windows 10 with UWIN installed. I wrote a perl script, sv2jb.pl, which runs fine when invoked under ksh by just typing its name, and when it is in the current directory. I then ...
-1
votes
1answer
23 views

script calling another script?

ive written a couple a couple of scripts. are they going to work indefinatly and will them eventually overload the CPU? firstly this is on a local nas that for some reason the manufacturer does not ...
0
votes
1answer
27 views

bash script split file names

I have the following bash script: #!/bin/bash for r in $(find . -name "*.fastq"); do cat <<EOF #qsub <<EOF #!/bin/bash -l #PBS -N $r EOF done Unfortunately, all filename get ...
0
votes
0answers
16 views

OpenVPN bridge gateway stops all traffic

I am not sure if this is a linux or windows issue. I have openvpn set up with a bridge interface that includes tap0 and eth0. I have my client machine (win10) getting its IP through my dhcp server. ...
1
vote
0answers
15 views

Where can I find the source code specifically for the minimal debian installer cd?

I want to distribute a debian virtual machine as a OVA file, in order to comply with the GPL I want to provide the source code for debian alongside the debian virtual machine. Instead of downloading ...
-1
votes
0answers
10 views

Fedora 28 ARM boot stuck at Starting kernel

Some while ago I've installed Fedora 28 (ARM) on my BananaPI. I had it mainly for backups from my laptop sitting on a shelf; however recently I've discovered that it is not responding. When I've ...
0
votes
0answers
19 views

Ubuntu reliability issues when upgrading

I had some problematic days after issuing an sudo apt upgrade and then rebooting on a remote Banana Pi board. uname -a results in Linux ... 3.4.112-BPI-M1-Kernel cat /etc/issue in Ubuntu 16.04.5 LTS ...
6
votes
1answer
46 views

Why directory with large amounts of entries does not shrink in size after entries are removed?

Close vote notice: While the linked duplicate asks same question, the comments and the only answer do not provide an answer which draws from authoritative source. The answer on my question by Thomas ...
-1
votes
0answers
16 views

Apache/Nginx document root environment-variable

Apache/Nginx "default" document root path is usally /var/www/html but theoretically this could change tomorrow. Having a distro-default and communally-maintained environment variable for it (instead ...
0
votes
0answers
16 views

How to write a script to kill & clean the resources of executing process?

I have an application running in c language(my_process.c) and a script(stop_process.sh) to stop the application and clean up all resources held by the process. In the application code, let's say i ...
1
vote
2answers
36 views

How does the same Linux version work on different hardware

My understanding is that the kernel understands how to communicate with the different hardware in a system via specific device trees. How is it that I can download one version of Ubuntu and I am ...
0
votes
1answer
46 views

what does >& mean in a shell command?

I actually have 2 questions: What does >& mean in a shell script as in /usr/bin/x_app >& /tmp/blog.txt? Shouldn't a number follows & to make it a stdout/err thing? As far as I know ...
0
votes
1answer
18 views

Installing deb to a different directory

Is there any possible way to install steam from a .deb file to a folder on an external usb hard drive? I have tried something like "--root=" but I can't get it to work.
0
votes
1answer
18 views

How to print the version of a specific MediaWiki installation to terminal

I have a LAMP environment with /var/www/html/x which is a MediaWiki website. I have a few more MediaWiki websites but I'd like to print the version of the x one to terminal. I need to do so I could ...
-6
votes
0answers
23 views

Need a shell Script in Linux to telnet all ports and get the status of each port [on hold]

Need a shell script in Linux to telnet all ports and get the status of each port. I have to check for about 300+ IP's

15 30 50 per page