All Questions

0
votes
0answers
3 views

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

Title pretty much says it all for this. 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+...
1
vote
0answers
4 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
2 views

MIDI - record and playback SysEx data from the command line

Does anyone know a tool to record and playback System Exclusive messages from the command line. I know qtraktor can do and probably many other applications with GUI. I have been able to use ...
0
votes
1answer
9 views

Sort Command in Hidden Shell Scripts

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
3 views

Switch user providiing 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
13 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
0answers
10 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
13 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
23 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
8 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
8 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
8 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
14 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 ...
2
votes
1answer
27 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
9 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
14 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
29 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
32 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
0answers
8 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
15 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
19 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
1
vote
2answers
50 views

import environment variables in a bash script

I set some environment variables in a terminal, and then run my script. How can I pull in the variables in the script? I need to know their values. Simply referring to them as $MY_VAR1 doesn't work; ...
1
vote
1answer
10 views

Speech Dispatcher failing to start on Arch Linux

I use pulseaudio on my system. I have installed the tts applications espeak and flite. Both of which work perfectly when called from the commandline, but fail to work when called via spd-say. I need ...
-2
votes
0answers
12 views

I have decided to load Cinnamon 19.1 on my laptop to learn more about Linux before I go to Linux on my main machine

Should I wipe out the Dell portion of my HDD to load Linux on my laptop? Would that still serve a purpose?
1
vote
1answer
12 views

Unable to edit auto_master under macOS Mojave

I'm running macOS since several years and I have an auto_master file that contains my mounts config. On a new Macbook, I cannot edit this file which is in the /etc folder and I have the following ...
1
vote
1answer
13 views

Windows 10 item does not show up in GRUB menu after installing openSUSE

I installed openSUSE Leap 15 alongside my Windows 10 on same hard drive but in an allocated free space. I expected the dualboot option, but the Windows 10 item doesn't show up in GRUB menu at all. ...
-1
votes
0answers
5 views

GPU/CUDA Compile Error

I am trying to compile some CUDA/GPU code on Ubuntu 16.04 with CUDA 8.0, but I am receiving the following error. I'm not sure how to debug this. nvcc -I/usr/local/cuda/include -gencode arch=...
3
votes
1answer
151 views

The files with the extension bash and sh

I made some researches about the files with bash and sh extensions. Most of the people and resources say that if a file has bash extension, then it contains bash scripts. Likewise, the file with sh ...
0
votes
0answers
6 views

Powerline error “no such file or directory: /Users/myusername/Library/Python/2.7/lib/python/site-packages/scripts/powerline-config”

Tried to install powerline, now every time i relaunch terminal this error messager appears: no such file or directory: /Users/myusername/Library/Python/2.7/lib/python/site-packages/scripts/powerline-...
0
votes
0answers
10 views

How to permanently set CPU governor without `cpufrequtils`?

Hardware: Dell Inspiron 15 Gaming 7577, model number 7577-92774. System: I am on Linux Mint 19.1; based on Ubuntu 18.04. Processor: I have an Intel Kaby Lake CPU: Intel Core i7-7700HQ. I have read ...
0
votes
1answer
22 views

alternatives to SSH_AUTH_SOCK for the command line

Are there alternatives to the SSH_AUTH_SOCK environment variable for passing agent info to ssh? What I'm looking for is something like -o SshAuthSockPath="/path/to/socket" but nothing like that ...
0
votes
0answers
10 views

NLTK Word Extraction

So I am trying to read a txt file, process it by taking out the stop words, and then output that result into a new file. However, I keep getting the following error: TypeError: expected a string or ...
-1
votes
0answers
21 views

ForLoop on tar files

I am trying to write a script that checks for the disk space and then act based on the used percentage of the disk. In the event that the threshold is exceeded, I want to be able to delete some files ...
9
votes
1answer
318 views

Why is my Debian 9 (Stretch) Linux kernel not getting upgraded after 'apt install'?

I spent the better part of the month trying to install, reinstall, delete manually, and reinstall the latest linux-image-4.9.0-8 (or thereof) onto my Debian 9 (Stretch), but it will always (re)...
0
votes
1answer
36 views

How to print one line below the matching RegEx in AWK or SED

I have a file containing several switches and the boot variables. lax1-sw0101#show boot --------------------------- Switch 1 --------------------------- Current Boot Variables: BOOT variable does ...
0
votes
0answers
7 views

python argparser use nargs to capture colon seperated input for a single option

I have below code on a transfer script to capture source and destination, i am successfully able to get the input like this using below cod python program -s "source host" "source folder" -d "...
-1
votes
0answers
17 views

using unix command, how to add column which as same name for example add salary which as same name? [duplicate]

name salary pooja 1000 yashu 2000 gagan 3000 pooja 2000 yash 3000 pooja 2000 yashu 2000 Answer should be pooja [sum of all salary], yashu [sum of all salary]... conti
-1
votes
1answer
19 views

how to capture details from nc

by the following command we can identify which ip are using port 2181 and the relevant port echo stat | nc localhost 2181 Zookeeper version: 3.4.6-91--1, built on 01/04/2018 10:34 GMT Clients: /182....
0
votes
0answers
8 views

Ubuntu does not wake up after suspension/hibernation

I am using ubuntu 18.04 lts. After I close the lid (for 1 min+), ubuntu refuses to wake up. It flashes an error screen instead: Does it have to do with grub? I usually work around the issue by ...
0
votes
0answers
5 views

Two touchscreen for Ubuntu and mapping of touch events

i've a touchscreen laptop (1920x1080) and a ineractive whiteboard with touch (1280x800). To use the full resolution of the laptop i just present a part of the monitor, that is done succesfully with ...
0
votes
2answers
31 views

How often (and when) does NTPD update the time?

I have an Oracle Linux 6 box (RHEL) and I have set up ntpd. I have run service ntpd start and chkconfig on. Now, if my date is incorrect and I reboot the box, it sets the time and date properly. ...
0
votes
1answer
9 views

Isolate portion of line from log file, then print to screen

If I have a file that updates a record count every 5 minutes, the output looks something like this: timestamp name of log file dataset record count 8600 timestamp name of log file dataset record ...
-1
votes
0answers
9 views

How does Linux actually perform protocol data unit (PDU) encapsulation?

I understand that as data goes from the upper layers (Application Layer) to the lower layers (Physical/Link Layer(s)), the data is encapsulated. When it goes back up the layers, it is decapsulated. ...
-1
votes
0answers
12 views

Recover - iPhone 5s died while audio recording

Is there a way to recover the recorded audio file while the phone died. When I recharged the phone and looked in the Voice Recording app, it shows the recording listed but with 00:00 recording time. I'...
1
vote
1answer
37 views

How can I source a base 64 encoded file in bash?

Is there a way to source a base64 encoded file in bash instead of doing this? cat $DIR/data/saves/$savegame | base64 --decode > $DIR/data/saves/$savegame.decoded . $DIR/data/saves/$savegame....
0
votes
2answers
65 views

how to check OS is linux or other?

we need to check if the following remote ip's are linux OS or other as win example 12.43.223.4 23.54.67.3 23.5.6.3 we have Linux machine - redhat , and from this machine we need to identify the ...
0
votes
1answer
30 views

Visible content of 2 variables in bash is the same, but the length is different

These 2 variables will have the same visible content x_sign1="aabbccdd_and_somthing_else" var1="...." [........] x_sign2=$(echo -n "${var1}${var2}${var3}" | shasum -a 256) echo $x_sign2 ...
0
votes
0answers
11 views

Default command argument in fzf

I have the default fzf command set as: export FZF_DEFAULT_COMMAND='fd --type file --hidden --exclude .git --color=always' Is there a way to pass an argument to this? I'd like to be able to run: fzf ...
4
votes
3answers
174 views

Extract multiple lines if match

I have a command that outputs information about all DIMM slots in blocks like the following: ID SIZE TYPE 44 105 SMB_TYPE_MEMDEVICE (type 17) (memory device) Manufacturer: NO DIMM Serial ...
1
vote
0answers
5 views

Ubuntu 16.04 and 18.04 crash with cuda 9.0

I am running Ubuntu 16.04 on a Dell XPS 15 with an Nvidia GTX1050i graphics card. I have several nvidia driver versions installed but 410.79 is the one being used. My kernel version is 4.15, which I ...

15 30 50 per page