Skip to main content

All Questions

Tagged with
0 votes
1 answer
43 views

Upgrading to Python 3.10, different users - python3 alias points to same binary but shows different versions

In Debian 11 based docker container, I'm a bit confused as to why root and jenkins users' python3 command is pointing to the same binary but have different versions: sh-5.1$ whoami jenkins sh-5.1$ ...
Anton Kim's user avatar
  • 913
0 votes
0 answers
80 views

Change Terminal Font in Coder

I am using Coder to host a Debian installation, and I would like to change the terminal font to UbuntuMono from Nerd Fonts. I've downloaded and installed the font, as confirmed by running fc-list: [......
NotGene's user avatar
  • 55
0 votes
0 answers
144 views

How to scan multiple images to single PDF Linux command line - scanimage

I am trying to scan multiple documents via ADF to a single file using scanimage. scanimage --batch but batch creates multiple files. Is it possible to save all documents as a single file? scanimage ...
Majid Chaudhary's user avatar
-1 votes
1 answer
25 views

Excluding program feature while compiling with make command

I'm trying to use Gentoo Linux's USE flag feature on a Debian based system. After I obtained the source code with apt-get source, I want to give an environment variable that excludes some unneeded ...
discouragedone's user avatar
0 votes
0 answers
15 views

The script does not save changes to the system file [duplicate]

The python script should change the hostname of the machine to the one given to it. But after the reboot, the file remains empty. However, if I open the file before rebooting using nano and save it ...
dmalin's user avatar
  • 9
0 votes
0 answers
284 views

systemd reading variables from file

Problem: My systemd service is not passing flags correctly to golang binary. I have the following setup: Script 1. Extract values from a local file and export variables into a file. if [[ -n "${...
gogasca's user avatar
  • 9,798
2 votes
1 answer
4k views

ERROR 1045 (28000): Access denied for user 'root'@'localhost' although password is okay

I run Debian 11 with mariadb and everything worked fine. Just yesterday I saw that different commands, such as /etc/init.d/mariadb reload or mysql -u root bring the error: ERROR 1045 (28000): Access ...
afriend's user avatar
  • 421
0 votes
1 answer
101 views

Script variables not interpreted by sed in cronjob

Bash script in Debian 11 Bullseye making use of "sed" runs ok from command line but not as a cron Hi, I'm running Debian GNU/Linux 11 (bullseye) Linux 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 ...
Mike's user avatar
  • 5
1 vote
0 answers
67 views

Shell script to get file count of directories

I am trying to create a shell script that will get the count of files in a static directory, then display the Directory and the number of files it contains in a table. Here is the setup I have so far. ...
tcooper's user avatar
  • 23
1 vote
2 answers
381 views

Linux shell script "unable to access jarfile"

I have a jar file in the /root directory of a debian 11 VPS. I am having trouble creating a startup shell script. The contents of the script (/etc/init.d/runjar.sh) are as follows: #!/bin/sh echo &...
dew's user avatar
  • 11
2 votes
1 answer
371 views

Automatically starting script in foreground on headless debian

Does anyone know any way of doing this? The help would be greatly appreciated, I've been beating my head over this one for a while now, and I can't seem to find any way to get scripts to auto-start ...
cparu's user avatar
  • 87
0 votes
0 answers
101 views

Reload apache with php automatically

I have an application running where customers can connect their own domain. That is, my customers can log in, enter their domain and a new virtual host is created in the background. shell_exec('cp /...
joh3rd's user avatar
  • 5
0 votes
1 answer
129 views

Restore mysql backup via crontab not working

Good afternoon, I want to automate redundancy for Redmine. I have created a second server, which is waiting for the first one to crash, while updating its database. However, at the moment of updating ...
Nekolone's user avatar
0 votes
0 answers
107 views

'readline' key bindings don't work properly in the default shell in Debian EC2 instance

I created a Debian EC2 instance. After I ssh into it, the default Bash shell is strange to me. When I type in a command and want to edit the command before running it, moving the left arrow key doesn'...
Tim's user avatar
  • 97.8k
0 votes
0 answers
238 views

permission denied with yapf in ssh script because of make

I have this strange error : i have a makefile with a format target that runs yapf -ir -vv --style pep8 . When I ssh log as user into my debian 11 server and run make format it works. When i run sudo ...
user avatar

15 30 50 per page
1
2 3 4 5
21