Top new questions this week:
|
I just noticed, that POSIX date doesn't seem to have the %s or %N format items. So I can't use those. What's an alternative, yet POSIX-compliant way to get the epoch timestamp in my shell script?
|
I have no idea what created this file - I guess a terrible shell script.
It is called '.env'$'\r'
I have tried various versions of rm, and the technique of opening the direcory with vim ./, selecting ...
|
How do I discover, for a given top-level directory, which “real” filesystems are mounted there, and from which devices (may include UUID or LABEL, but must use /dev/something for LVM)?
Background is ...
|
I read many tutorials about the use of kill command, mostly 3 approaches
kill -15 <pid>
kill -SIGTERM <pid>
kill -TERM <pid>
For scripts purposes and for portability with macos too, ...
|
(trimmed) dpkg -l output on a recent debian bullseye (v11.3) machine:
SE Name Version Arch Description
ii bind9-host 1:9.16.27-1~deb11u1 amd64 DNS Lookup Utility
ii ...
|
I'm relatively new to shell scripting, so I apologize if this seems like a simple question to ask. I have a linux VM (debian, version 11 (bullseye)) that I can ssh into (ssh <ip>), installed a ...
|
Edit to clarify my question:
POSIX says:
If a <newline> follows the (unquoted) <backslash>, the shell shall interpret this as line continuation. The <backslash> and <newline> ...
|
Greatest hits from previous weeks:
|
In bash all I know is that
rmdir directoryname
will remove the directory but only if it's empty. Is there a way to force remove subdirectories?
|
I usually use mount to check which filesystems are mounted. I also know there is some connection between mount and /etc/mtab but I'm not sure about the details. After reading How to check if /proc/ is ...
|
How can I check which DNS server am I using (in Linux)? I am using network manager and a wired connection to my university's LAN. (I am trying to find out why my domain doesn't get resolved)
|
Sometimes I want to start a process and forget about it. If I start it from the command line, like this:
redshift
I can't close the terminal, or it will kill the process. Can I run a command in such ...
|
If I use pubkey auth from e.g.: an Ubuntu 11.04 how can I set the ssh client to use only password auth to a server? (just needed because of testing passwords on a server, where I default log in with ...
|
I'm trying to install Docker on a Ubuntu 64 machine following the official installation guide.
Sadly Ubuntu seems it is not able to locate the docker-ce package. Any idea to fix it or at least to ...
|
I'm using Linux (centos) machine, I already connected to the other system using ssh. Now my question is how can I copy files from one system to another system?
Suppose, in my environment, I have two ...
|
Can you answer these questions?
|
I am dual booting a Dell Precision 7520 with Fedora 35 and Windows. Worked fine with Windows 10. "Up"graded to Windows 11 and now every time I boot into W11 it puts its own boot loader ahead ...
|
I have been using linux for a couple of years now, and thought I'd give WSL2 a try.
Something that surprised me was how I could run Windows PE binaries (*.exe files) 'just so'. A bit of research led ...
|
I can't happen to find a fix to shutdown or reboot my Zorin OS 16.1. So far I have been using REISUB or REISUO as a quick fix. I was wondering if it can cause harm to my laptop in the longrun if I ...
|