Unix & Linux Stack Exchange Community Digest

Top new questions this week:

rsync the file `a`b

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

rsync vulnerability  
user avatar asked by Ole Tange Score of 22
user avatar answered by Chris Down Score of 32

Why is Gnome fractional scaling 1.7518248558044434 instead of 1.75?

If I set 175% scaling in Gnome Settings, the value is saved as 1.7518248558044434 in ~/.config/monitors.xml: <monitors version="2"> <configuration> <logicalmonitor> ...

gnome display wayland  
user avatar asked by Damn Vegetables Score of 21
user avatar answered by rakslice Score of 53

What is the difference between gawk and mawk with regards to field separators?

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 '[+°.]' '{ ...

user avatar asked by Angelo Score of 9
user avatar answered by Stephen Kitt Score of 20

Does Bourne Shell have a regex validator?

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

linux regular-expression bourne-shell  
user avatar asked by Scottie H Score of 7
user avatar answered by cas Score of 18

What system calls create users and groups?

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

user avatar asked by aaronstacy Score of 7
user avatar answered by user10489 Score of 36

Read file content in a zip file without unzipping?

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?

linux zip  
user avatar asked by Idonknow Score of 7
user avatar answered by Eduardo Trápani Score of 13

Migration of a working Debian 11 system to another

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

debian migration  
user avatar asked by Hölderlin Score of 5

Greatest hits from previous weeks:

How can I display the contents of a text file on the command line?

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?

command-line files cat  
user avatar asked by Sam Weinberg Score of 271
user avatar answered by crunsher Score of 59

Scroll inside Screen, or Pause Output

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

ssh terminal gnu-screen putty scrolling  
user avatar asked by AeroCross Score of 569
user avatar answered by njsg Score of 773

Does curl have a --no-check-certificate option like wget?

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

wget curl  
user avatar asked by cwd Score of 603
user avatar answered by Freiheit Score of 805

How do I set my DNS when resolv.conf is being overwritten?

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

linux debian networking dns dnsmasq  
user avatar asked by Seán Hayes Score of 359
user avatar answered by Seán Hayes Score of 79

Compress a folder with tar?

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

linux backup tar  
user avatar asked by qwerty Score of 401
user avatar answered by Mat Score of 565

What DNS servers am I using?

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)

networking dns  
user avatar asked by Grzenio Score of 389
user avatar answered by Lonnie Best Score of 296

How can I get a count of files in a directory using the command line?

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?

user avatar asked by Blake Score of 339
user avatar answered by James Score of 427

Can you answer these questions?

Why I can only access half of RAM whatever the total is?

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

ubuntu ram  
user avatar asked by ZhuJerry Score of 2

Name of background job started from EXIT trap is wrong

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

bash job-control  
user avatar asked by Tavian Barnes Score of 4

How to pronounce systemctl and associated commands?

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

systemd conventions  
user avatar asked by Mark Ellerby Score of 1
You're receiving this message because you subscribed to the Unix & Linux community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 110 William Street, 28th floor, New York, NY 10038