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...
Koodoo asked 10/2, 2023 at 18:55

4

Solved

I have a file with 4 million of lines, every line ends with the char $, but I mistakenly add a new line after the the line delimiter while scraping a website, so right now it is looking like this: ...
Duckbill asked 13/3, 2014 at 0:16

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...
Gloucester asked 16/6, 2021 at 13:1

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...
Oddson asked 21/11, 2016 at 3:22

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...
Cedilla asked 19/2, 2019 at 0:19

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

I want to change my PS1 in my .bashrc file. I've found a script using printf with %q directive to escape characters : #!/bin/bash STR=$(printf "%q" "PS1=\u@\h:\w\$ ") sed -i '/PS1/c\'"$STR" ~/.bas...
Hungary asked 26/9, 2014 at 22:8

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 "...
Sacred asked 31/1, 2013 at 12:21

4

Solved

I have a zip file on the server. It's 1.1gb made up of thousands of small files. I do not have shell or root access to the server and can only use ftp and create php files.. so far I have tried exe...
Execrative asked 1/6, 2013 at 22:27

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...
Standoff asked 14/10, 2011 at 12:38

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...

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...
Argumentation asked 25/1, 2017 at 11:1

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...
Onceover asked 13/3, 2012 at 15:11

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?
Ninfaningal asked 25/1, 2017 at 19:48

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 ...
Scanner asked 15/4, 2020 at 16:48

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...
Sphagnum asked 29/9, 2021 at 11:6

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.