linux Questions
3
I've built a .NET Core 6 application that runs without issue on my local Windows 11 machine. I've deployed it to an Ubuntu 20.04 server and I receive an error that it cannot load the libSkiaSharp s...
4
Solved
2
Solved
docker system prune wants answer y/n. How to i pass in shell script
my shell script
#!/bin/sh
docker stop registry
docker system prune
docker run -d -p 5000:5000 --restart=always --name registry -v...
2
Do you know a reliable command line tool able to export SQL Server schema to a text file?
Caracaraballo asked 27/4, 2017 at 22:41
4
Solved
When creating playlists I often came across files that would break the playing process. Such would be files with spaces or apostrophes. I would fix it with the following command
for file in *.; do...
4
Solved
I am new to vim, and I learn that you can interact with the terminal two ways while in vim. The first is to type: ! . The second is :term, when you have a terminal side by side with your source cod...
4
Solved
OS: Ubuntu 22.04.3
VSCode: 1.83
Every time I open Visual Studio Code, an error pops up saying "Microsoft.CodeAnalysis.LanguageServer client: Couldn't connect to server (Source: C# [Extension])...
Algol asked 18/10, 2023 at 15:45
2
Solved
I installed wkhtmltox-0.12.6-1.amazonlinux2.x86_64.rpm on my EC2 instance(t3.xlarge).
While using wkhtmltopdf in Node.js, I'm getting the following error:
Error generating PDF: Error: wkhtmltopdf: ...
Maunsell asked 8/8, 2024 at 6:47
3
Solved
7
How I can set the new environment variables and their value permanently in Linux
I used export to set the env variables. But the problem is its session specific. If I open new session the va...
Mariannemariano asked 4/8, 2017 at 9:22
5
Trying to do:
help:
@echo "you must $(call red_text,clean)"
where red_text is defined as
red_text = $(shell tput setaf 1; echo -n "$1"; tput sgr0)
This prints "you must clean", where word "...
4
Solved
7
Solved
I have a linux server (Red Hat 4) with one serial port connection to an embedded linux device, and another serial port connection to a power controller for that device. My current way to control th...
Nellnella asked 6/10, 2010 at 16:11
3
I've been working on a Java project that uses a gui.jar file to import some classes. Everything was working fine until yesterday. Now, I can compile the .class files by the command
javac -d ./bin -...
Gargantua asked 3/4, 2023 at 15:55
4
Solved
I am building a terminal window in a browser (sth. like ajaxterm) and don't know which escape sequence to send to ssh tunnel (opened via paramiko.SSHClient().invoke_shell(term='linux')).
I have f...
3
Solved
I recently updated my self-hosted linux server on compute engine. Pm2 had been working perfectly along my github actions previously. However after update when i restart a pm2 instance from my ssh t...
Gaiser asked 8/9, 2021 at 18:29
4
How can I format the output of a tree command so that the formatting of ls, e.g. highlighting and colour scheme of directories and certain file types applies to the output?
The problem is when I re...
4
Solved
I'm looking for some solutions to use ps auxf command to show all processes without kernel threads, or maybe anyone know any else program to filter that kernel process?
What I've tried and found:
...
Alleyne asked 22/1, 2018 at 11:17
3
Solved
I want to get the address of _GLOBAL_OFFSET_TABLE_ in my program. One way is to use the nm command in Linux, maybe redirect the output to a file and parse that file to get address of _GLOBAL_OFFSET...
3
Solved
I'm having trouble with Poco libraries. I need a simple solution to make the compilation easier. Is there any pkg-config file for Poco library to use it into our make files? Or any alternative solu...
Servile asked 22/3, 2010 at 8:35
5
Solved
I have a computer at work which I sometimes wakeup from home in order to access it but when boots and gets another IP address from our DHCP server, how can I access it?
The situation and my “workfl...
Roden asked 4/3, 2016 at 20:20
6
Solved
Everytime I compile and run c file, I have to type:
gcc filename.c
a.out
I don't want to do this in two lines, How to compile and run in one line on linux terminal?
4
Solved
I tried to install udunits2 (because I need the sf package) in Linux by using:
install.packages("/panfs/roc/groups/5/.../udunits2_0.13.tar.gz", repos=NULL, type ="source")
But I´m getting this ...
8
when I run sudo apt update
It shows:
E: Failed to fetch http://packages.microsoft.com/repos/code/dists/stable/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authen...
2
Solved
I am capturing network traffic by using tcpdump. The problem is: I can't see all capture data when the package is too long. For example, when the tcp frame length is more than 500, I just see 100-2...
Aristippus asked 13/7, 2016 at 3:38
© 2022 - 2025 — McMap. All rights reserved.