linuxusers.in is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Admin email
dharmiik@proton.me
Admin account
@dharmik@linuxusers.in

Search results for tag #unix

HoldMyType »
@xameer@mathstodon.xyz

When I run it from my default shell, zsh, I get this:

4 % ./segv
zsh: 13512 segmentation fault ./segv

When I run it from bash, I get what you noted in your question:

bediger@flq123:csrc % ./segv
Segmentation fault

signal mechanism is entirely different from the CPU-specific events that start the process.

In general, when a bad address is accessed (or written to a read-only area, attempt to execute a non-executable section, etc.), the CPU will generate some CPU-specific event (on traditional non-VM architectures this was called a segmentation violation, since each "segment" (traditionally, the read-only executable "text", the writable and variable-length "data", and the stack traditionally at the opposite end of memory) had a fixed range of addresses - on a modern architecture it's more likely to be a page fault [for unmapped memory] or an access violation [for read, write, and execute permission issues], and I'll focus on this for the rest of the answer).

Now, at this point, the kernel can do several things. Page faults are also generated for memory that is valid but not loaded (e.g. swapped out, or in a mmapped file, etc.), and in this case the kernel will map the memory and then restart the user program from the instruction that caused the error. Otherwise, it sends a signal. This doesn't exactly "direct [the original event] to the offending program", since the process for installing a signal handler is different and mostly architecture-independent, vs. if the program were expected to simulate installing an interrupt handler.
unix.stackexchange.com/questio

radhitya boosted

ricardo »
@governa@fosstodon.org

🗳

Cliff »
@cliffwade@infosec.exchange

What operating systems do you use?

This includes on your PC/computer and mobile devices, or anywhere else for that matter. Select all that apply!

Please BOOST for maximum exposure to the

If your choice isn't listed, simply comment and let's discuss things!

Windows:343
Linux:617
MacOS:270
Unix:49
ChromeOS:39
iOS:262
Android:471
Other -> Comment below!:40

nixCraft 🐧 »
@nixCraft@mastodon.social

The rsync utility in Linux, *BSD, and Unix-like systems are vulnerable to multiple security issues, including arbitrary code execution, arbitrary file upload, information disclosure, and privilege escalation. Hence, you must patch the system ASAP cyberciti.biz/linux-news/cve-2

A critical vulnerability (CVE-2024-12084 and five others) requires immediate patching on Linux, *BSD, macOS, and Unix-like systems to protect your systems from attacks. Update Rsync now!

Alt...A critical vulnerability (CVE-2024-12084 and five others) requires immediate patching on Linux, *BSD, macOS, and Unix-like systems to protect your systems from attacks. Update Rsync now!

Tom Lyon ✅ »
@aka_pugs@mastodon.social

OTD 1973: seminar at Bell Labs. pdf: drive.google.com/file/d/1HAISQ

Internal Bell Labs memo announcing a UNIX Users Seminanr on January 15, 1973.  Many illustrious names mentioned.  Sorry, OCR didn't work for me.

Alt...Internal Bell Labs memo announcing a UNIX Users Seminanr on January 15, 1973. Many illustrious names mentioned. Sorry, OCR didn't work for me.

Justine Smithies »
@justine@snac.smithies.me.uk

Switched my shell from bash after 20 plus years to oksh to see how I get on with this ksh variant. So far so good and I'm having to read the man page to get my self used to a slightly different way of doing things but this does feel nice and Unixy as I said earlier. Only time will tell if I switch back. 😉

Justine Smithies »
@justine@snac.smithies.me.uk

Looking at shells for interactive use as I've been using Bash since the beginning. I did look at default sh but it's history is a tad clunky. Yesterday I was introduced to oksh a public domain Korn shell via a blog by @rubenerd@bsd.network and it does look interesting. I'd obviously continue writing my scripts to be posix compliant and running with sh but for interactive use this might be more me ?
Only one way to find out and that's to read up and try it I suppose. Feel free to chime in if you use oksh AKA korn shell.

https://github.com/ibara/oksh


nixCraft 🐧 »
@nixCraft@mastodon.social

Happy birthday bash!

This screenshot shows the bash shell source code being downloaded using the wget command. The grep command then displays its birthday, which is January 10th, 1988.  Bash was originally created by Brian Fox.

Alt...This screenshot shows the bash shell source code being downloaded using the wget command. The grep command then displays its birthday, which is January 10th, 1988. Bash was originally created by Brian Fox.

screwlisp boosted

hairylarry »
@hairylarry@gamerplus.org

Now installing GhostBSD. FreeBSD with a desktop.

Pretty cool. I'm interested.

I also might try an Indie Archive install with FreeBSD and no desktop. Midnight Commander to the rescue.

I'm curious if FreeBSD will require the coreutils install to get gnu cp (gcp).

0 ★ 2 ↺

dharmik »
@dharmik@linuxusers.in

there's a lot of fun tinkering that went into syncing my vimwiki files between my computers. firstly, i use wsl2 on my laptop, and after extensive failures, i concluded that port forwarding is not possible. then i settled on installing syncthing on windows to sync the vimwiki folder, which also failed. now i have a cron job to copy files every day at 8 pm to my windows drive, which syncs to my pop os computer.

nixCraft 🐧 »
@nixCraft@mastodon.social

What is your favorite new or command that you discovered this past year? Add it below 👇

Peter N. M. Hansteen »
@pitrh@mastodon.social

BSDCan 2025 Call for Papers is open, see bsdcan.org/2025/papers.html

Important dates

Submission deadline 2025-02-12
Accept notified by 2025-03-04

Tutorials 2025-06-11 - 2025-06-12
Conference 2025-06-13 - 2025-06-14

notptr boosted

OCTADE »
@octade@soc.octade.net

Plan 9 Newsgroup is Revived (comp.os.plan9)

Plan 9 is a Unix-like operating system first developed by Bell Labs.

https://comp.os.plan9.narkive.com/SnexHy94/we-re-alive-again

"comp.os.plan9 is a moderated newsgroup for discussion of the Plan 9 operating system and related systems. It's a forum to ask questions and share information about installing, administering, using, and developing the system. Discussion of the original Plan 9 from Bell Labs as well as all forks, derivitives, or otherwise related systems are on topic. "

http://9srv.net/comp.os.plan9/index.html

@opensource@lemmy.ml @usenet@lemmy.ml


Justine Smithies »
@justine@snac.smithies.me.uk

So I'ts been 4 months since switching from to on my homelab and just 1 month since switching my daily driver to FreeBSD. Do I regret my decision ?
Absolutely not a jot! I'm loving running BSD aka and I know it's not legally Unix but technically it is and I'm happy with that. I love the documentation, The community spirit, and everything about it. Yes there are issues with WiFi cards and so on but that doesn't phase me. Linux was just the same back in the 90's. Slow and steady wins the race. 😉
I really don't know why I didn't jump sooner ?

Peter N. M. Hansteen »
@pitrh@mastodon.social

My stock answer to all the oh-so-tired "how to exit vim(1)" schtick includes ref to nxdomain.no/~peter/ed_mastery_ (alternatively bsdly.blogspot.com/2018/04/ed1 if you really don't mind being tracked)

gyptazy »
@gyptazy@mastodon.gyptazy.com

You're a / fan and looking for a simple and minimalistic engine?

might be your solution and comes in a simple and familiar manpage design without big dependencies as a static blog generator.

You can find more about manpageblog right here: github.com/gyptazy/manpageblog

Justine Smithies »
@justine@snac.smithies.me.uk

[ RESOLVED ]

Oh man I'm confused now and yes it's easily done. 🤣
On my laptop I'm running quarterly binaries but some are suggesting that I should switch to the latest binaries branch. Is that wise ? I thought it was best to stay on quarterly ??

screwlisp boosted

Tomáš »
@prahou@merveilles.town

dating culture clash

plan9bunny-person meets with a fish-daemon-person.

Daemon: "So, how was the date?"

Bunny: "He talked about docker for 35 minutes and then asked, if I have wine."

Daemon: "Did you tell him you're not Unix?"

Bunny: "Yeah, he said: 'oh, like GNU?'"

Alt...plan9bunny-person meets with a fish-daemon-person. Daemon: "So, how was the date?" Bunny: "He talked about docker for 35 minutes and then asked, if I have wine." Daemon: "Did you tell him you're not Unix?" Bunny: "Yeah, he said: 'oh, like GNU?'"