nixCraft, to linux
@nixCraft@mastodon.social avatar
dimi, to linux
@dimi@techforgood.social avatar

For anyone who wants to toot from the command line, there's of course an app for that:

https://github.com/ihabunek/toot

#linux #unix #mac

RL_Dane, to linux
@RL_Dane@fosstodon.org avatar

Found a good command for compressing images in a PDF without messing with the text or anything else:

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dDownsampleColorImages=true -dColorImageResolution=150 -dNOPAUSE -dBATCH -sOutputFile=output.pdf input.pdf

bortzmeyer, to random French
@bortzmeyer@mastodon.gougere.fr avatar

#Unix #programmation

Le script "configure" de la mort qui tue :

$ ./configure
################################################################################
################################################################################
The LLVM project no longer supports building with configure & make.

dimi, to linux
@dimi@techforgood.social avatar

Seems like they are running sandwiches in the background.

#meme #linux #unix

dimi, to linux
@dimi@techforgood.social avatar

For everyone using "if grep" in #bash, you can use an equal-tilde operator to handle regex matching instead.

if [[ $x =~ regex ]]; then

Just don't put your regex in quotes and you'll be fine.

#unix #linux #scripting

jbzfn, to random
@jbzfn@mastodon.social avatar
rml, to random

Did Drew Devault really just link to a blog post???

When he discovers beyond a cursory glance, it'll be so over for -cels

https://aphyr.com/posts/363-fast-multi-accumulator-reducers

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

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
nixCraft, to linux
@nixCraft@mastodon.social avatar
charadon, to linux

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

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!

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/

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