tcely, to linux
@tcely@fosstodon.org avatar

Have you ever seen a weird or interesting new shell recipe?

One of the best things to do before you try it yourself is to see if this site can tell you what it does and how it works.

https://explainshell.com/

#Linux #UNIX #BSD #MacOSTerminal
#ExplainShell
#Tips

nixCraft, to infosec
@nixCraft@mastodon.social avatar
nixCraft, to linux
@nixCraft@mastodon.social avatar

Here is how to create an empty file in #Linux or #Unix:

touch file1 # method 1

:>file2 # method 2

>file3 # method 3 (will fail with the shellcheck linter https://www.cyberciti.biz/programming/improve-your-bashsh-shell-script-with-shellcheck-lint-script-analysis-tool/)

itnewsbot, to programming
@itnewsbot@schleuss.online avatar

Two core Unix-like utilities, sudo and su, are getting rewrites in Rust - Invoking another user's privileges to execute a command. (credit: Cavan Ima... - https://arstechnica.com/?p=1935564 #rustprogramminglanguage #memorysafety #commandline #programming #biz#linux #tech #rust #sudo #unix #su

nixCraft, to linux
@nixCraft@mastodon.social avatar
bbelderbos, to programming
@bbelderbos@fosstodon.org avatar

Shell aliases make me a faster developer. In today's video I selected a bunch from my .zshrc file and walk through them:

https://youtu.be/O-a-UPgsHDk

Hope this is helpful and that you will use a few or roll your own.

Use aliases once, twice, thrice ... no big deal.

But use them 100s or 1000s of times and over time you save a lot of time!

#unix #python

pitrh, to opensource
@pitrh@mastodon.social avatar

The @eurobsdcon 2023 Call for proposals https://2023.eurobsdcon.org/call-for-papers-is-now-open/ runs through May 26th.

Submit at https://registration.eurobsdcon.org/, we will finalize selection and notify by June 1st.

The conference is set in beautiful , September 14-17, 2023.

nixCraft, to linux
@nixCraft@mastodon.social avatar

sudo and su being rewritten in Rust Lang for memory safety https://github.com/memorysafety/sudo-rs #Linux #Unix

nixCraft, to linux
@nixCraft@mastodon.social avatar

Remove "This incident will be reported." from user warnings from "sudo". https://github.com/sudo-project/sudo/commit/6aa320c96a37613663e8de4c275bd6c490466b01 What do you think? #Linux #Unix #macOS #FreeBSD

jasonnab, to linux

If I were to do a 1:1 image of my #archlinux laptop setup to an SSD installed in a desktop, would I in theory run into any major issues?
Major changes:

  • Intel to AMD CPU (done that before no issues)
  • Intel iGPU to AMD dGPU (install mesa + fix VAAPI pointers?)
  • more RAM?
  • Change in audio hardware (both mobo onboard but laptop is unknown > Realtek; pipewire+PA backend)
  • ?????

:apusheencomputer: :blobfoxcomputerowonotice: :arch_linux: #linux #linuxdesktop #arch #unix #gnulinux

nixCraft, to linux
@nixCraft@mastodon.social avatar

A bash shell script says SEE YOU SPACE COWBOY whenever you logout from your #Linux and #Unix session https://www.cyberciti.biz/files/scripts/seeyouspacecowboy.sh.txt

nixCraft, to linux
@nixCraft@mastodon.social avatar
Mek101, to programming Italian
@Mek101@fosstodon.org avatar
nixCraft, to linux
@nixCraft@mastodon.social avatar
charadon, to linux

So... I may have fallen in love with the #runit #init system lol

#linux #unix

DamnItJanet, to science

Time for a new introduction!

I'm Jan. I work in the Canadian library sector and love it. I live near Vancouver, BC, Canada with my partner and doglet.

I enjoy science and nature, computing, studying, and generally keeping my mind active. I'll let my hashtag list speak for itself from here!

#Introduction #Libraries #VancouverBC #Canada #Science #Nature #Computing #SelfHosting #Server #RustLang #Linux #Unix #Cannabis

nixCraft, to linux
@nixCraft@mastodon.social avatar

Do you need to clear bash history under #Linux, #macOS, #FreeBSD or #Unix? Try
history -c && history -w

See all other options https://www.cyberciti.biz/faq/clear-the-shell-history-in-ubuntu-linux/

nixCraft, (edited ) to linux
@nixCraft@mastodon.social avatar

Poll: Do you vim or gvim on #Linux, #macOS or #BSD/#Unix desktop?

nixCraft, (edited ) to linux
@nixCraft@mastodon.social avatar

Poll: Do you use "Tiling window manager" on your #Linux or #Unix/*BSD desktop?

RL_Dane, to linux
@RL_Dane@fosstodon.org avatar

Hey #askFedi,

Is there a simple way (like an environment variable) to tell #unix/#linux/#bsd commandline applications that I'm running in light mode, so PLEASE do not give me yellow on white text?

Or do I just need to modify my terminal colors to be darker? (doesn't help with programs that pick specific colors)

nixCraft, to linux
@nixCraft@mastodon.social avatar
jbzfn, to random
@jbzfn@mastodon.social avatar

SCO XENIX SVR2.1.3 booting on IBM 5155 (UNIX on 8088)


https://m.youtube.com/watch?v=lJXMwmuI5Wo&feature=youtu.be

sullybiker, to random
@sullybiker@sully.site avatar

@mjgardner Do you think it's worth picking up Perl now? I'm tempted to revisit it after a brief flirtation a decade ago, also 5 or 6/Raku?

mjgardner,
@mjgardner@social.sdf.org avatar

@sullybiker Oh, if you’re into the #Unix tradition and philosophy then you need to learn #Perl. No other general-purpose #programming language has Unix baked into it so deeply.

mjgardner, (edited ) to programming
@mjgardner@social.sdf.org avatar

This is hilarious. A engineer invented to make command line scripting easier with , because at a certain point scripts get too complicated and you need a Real Language.

https://github.com/google/zx/

This is exactly ’s use case from thirty-six years ago. But the kids want everywhere and would rather it take more work to convert their ascended scripts to a vastly different syntax.

https://github.com/google/zx/issues/581#issuecomment-1516573139

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@ndw And #GNU was a reaction to proprietary #Unix but got swallowed up by #Linux… the Wheel of #Saṃsāra keeps turning http://catb.org/jargon/html/W/wheel-of-reincarnation.html

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@sullybiker Yep. And I just found out that this isn’t even the first time the #JavaScript kiddies have done this.

https://github.com/shelljs/shelljs

#ShellJS is a portable implementation of #Unix #shell commands on top of the #NodeJS API. […] say goodbye to those gnarly #Bash scripts!”

Of course, #PerlPowerTools also exists if you want Unix commands that work the same everywhere. It has exactly four dependencies to download from #CPAN outside of the #Perl core.

https://perlpowertools.com

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • modclub
  • mdbf
  • everett
  • Youngstown
  • rosin
  • slotface
  • love
  • khanakhh
  • kavyap
  • ngwrru68w68
  • ethstaker
  • DreamBathrooms
  • anitta
  • magazineikmin
  • tester
  • tacticalgear
  • InstantRegret
  • osvaldo12
  • Durango
  • cubers
  • normalnudes
  • Leos
  • cisconetworking
  • GTA5RPClips
  • provamag3
  • JUstTest
  • All magazines