Top new questions this week:
|
Yeah, I know what you are thinking: "Who on earth names their file `a`b?"
But let us assume you do have a file called `a`b (possibly made by a crazy Mac user - obviously not by you), and you ...
|
If I set 175% scaling in Gnome Settings, the value is saved as 1.7518248558044434 in ~/.config/monitors.xml:
<monitors version="2">
<configuration>
<logicalmonitor>
...
|
What is the difference between gawk and mawk with regards to field separators? In particular, I'm trying to figure out what is going on here:
mawk:
$ echo "100+50°20.5" | mawk -F '[+°.]' '{ ...
|
I am on a closed network (i.e. no connectivity to the internet).
I have a bourne shell script that asks for the user to enter a regular expression for use with grep -P.
Generally speaking, I like to ...
|
Whenever I search for how to create groups, examples always point to chapter 8 (i.e. shell) commands. When I look through lists of common sys calls (i.e. the ones listed in the Wikipedia page), I see ...
|
Given a zip file zipfile.zip, we know that it contains a file called text.txt.
Is there a way to read the content of text.txt without unzipping zipfile.zip?
|
Assume I have two Debian 11 systems. System A with custom application setup. etc. And a vanilla system B. Now I would like to transfer the whole setup from A to B. I found some links, where users ...
|
Greatest hits from previous weeks:
|
I would like to display the contents of a text file on the command line. The file only contains 5-6 characters. Is there an easy way to do this?
|
I use screen for my command-line tasks while managing the servers where I work. I usually run small commands (mostly file-system tasks) but sometimes I run more extensive tasks (like DBA).
The output ...
|
I am trying to make a curl request to one of our local development servers running a dev site with a self-signed SSL cert. I am using curl from the command line.
I saw some blog posts mentioning that ...
|
Most of the info I see online says to edit /etc/resolv.conf, but any changes I make there just get overridden.
$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
|
I'm trying to compress a folder (/var/www/) to ~/www_backups/$time.tar where $time is the current date.
This is what I have:
cd /var/www && sudo tar -czf ~/www_backups $time"
I am ...
|
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)
|
I have a directory with a large number of files. I don't see a ls switch to provide the count. Is there some command line magic to get a count of files?
|
Can you answer these questions?
|
I have an Intel 11700 with 4*32 GB RAM.
When 4 physical RAM slots are filled, BIOS, htop, sudo lshw, sudo dmidecode dmesg (whatever command I use to display the total RAM on the system) all display ...
|
The following script:
#!/bin/bash
set -m
atexit() {
sleep 1 &
jobs
}
trap atexit EXIT
echo Hello world
Produces this output:
$ bash ./foo.sh
Hello world
[1]+ Running ...
|
Something I'm never quite sure about, and which I have not seen any reference to in the documentation, is how to say the Systemd commands in ordinary speech.
For example 'systemctl', is it:
"...
|