Masthash

#CommandLine

AskUbuntu
8 hours ago

How to find and replace a string in all files on ubuntu including root files with another string #commandline #2004 #textprocessing

https://askubuntu.com/q/1471371/612

AskUbuntu
10 hours ago
AskUbuntu
11 hours ago

How to parse large files looking for a word #commandline #textprocessing #json

https://askubuntu.com/q/1471379/612

AskUbuntu
17 hours ago

cant launch program from terminal but can from gui #commandline #python #blender

https://askubuntu.com/q/1471340/612

Linux User Space
19 hours ago

Oh no

We accidentally a @gentoo

What should we compile next?

#Linux #CommandLine #Kernel

A screencap of a portion of the command line after starting a compile on Gentoo.

Command line output only, ahead:

t-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=d ate-time -Werror=incompatible-pointer-types -Werror=designated-init -Wo-packed-not-aligned -Wint-to-pointer-cast -Wunused-but-set-variable -Wold-style-declarat
I ./fs/ntfs3
MODNAME=' "ntfs3"
-D
_KBUILD_MODNAME=kmod_ntfs3 -c -o fs/ntfs3/record.o /var/tmp/portage/sys-kern el/gentoo-kernel-6.1.31/work/linux-6.1/fs/ntfs3/record.c ./tools/ob.jtool/ob.j tool --hacks= jump_label --hacks=noinstr --orc --retpoline --rethunk --sIs --stat ic-call --uaccess
--module fs/ntfs3/record.o
/var/tmp/portage/sys-kernel/gentoo-kernel-6.1.31/work/linux-6.1/scripts/check-local-export fs/ntfs3/record.o
{ echo : echo
'fsintfs3/record.o: S(wildcard /tools/obitool/ob.itool)';}>›
fs/ntfs3/.record.o.cmd
AskUbuntu
20 hours ago

How do I mass-convert png images to GIMP brushes? #commandline #gimp #imagemagick

https://askubuntu.com/q/1471286/612

Python Weekly
22 hours ago

Command line guitar theory project I started as a means to use Python to learn music theory

https://github.com/acidvegas/mzk

Discussions: https://discu.eu/q/https://github.com/acidvegas/mzk

#commandline #programming #python

AskUbuntu
1 day ago

Fast Wallet Loan C U S T O M E R Care NuMbeR ☎️9040112470=9040112470 #commandline #dualboot

https://askubuntu.com/q/1471249/612

AskUbuntu
1 day ago

Show a tag in parentheses when connecting through SSH #commandline #ssh

https://askubuntu.com/q/1471191/612

alice2
2 days ago

#TranslateShell is such an awesome #translation #software for the #Linux #commandline !

Simple, effective, explanatory. 👆

Chloeg
2 days ago

Why can’t I remember my own mobile phone number yet I can remember the command line options for a program I last ran at least 20 years ago? #mysteries #remembering #commandline

AskUbuntu
2 days ago

There is nothing in my $HOME/.vimrc file, is that right? #commandline #vim

https://askubuntu.com/q/1471010/612

char
2 days ago

Llama — a terminal file manager; So useful when navigating throw large and non well known projects.

https://github.com/antonmedv/llama

#terminal #commandLine

AskUbuntu
2 days ago

NAAN Rupee CUSTOME R Care NUMBER 6264898953=8292829859call All Related #networking #commandline #partitioning

https://askubuntu.com/q/1470942/612

AskUbuntu
2 days ago

Get Rupee Loan CUSTOME R care number 8468800103 #commandline #permissions #cron

https://askubuntu.com/q/1470947/612

AskUbuntu
2 days ago

walnuts loan custome r care helpline number 8777638488=9907469467 #boot #commandline #dualboot #partitioning #wireless

https://askubuntu.com/q/1470940/612

AskUbuntu
3 days ago

Finnable Loan cusTomer care Helpline Number 7415647961//+9573770026 Just Call Now yf #commandline #multiplemonitors

https://askubuntu.com/q/1470727/612

AskUbuntu
3 days ago

How to add a user in only particular directory and no permission to another directory linux #commandline #permissions #apache2 #users #usermanagement

https://askubuntu.com/q/1470692/612

John Bokma
3 days ago

Linux containers in a few lines of code, and Securing Sudo

#container #CommandLine #security

👉 Please retweet if you ❤ Plurrrr. Thanks! 👍

https://plurrrr.com/archive/2020/05/13.html

AskUbuntu
3 days ago

WIFI not working in my Lenovo Legion 5 #boot #commandline #kali

https://askubuntu.com/q/1470671/612

John Bokma
4 days ago

Pipe, Go Standard Library Changes, and ARM coming full circle

#CommandLine #go #arm

👉 Please retweet if you ❤ Plurrrr. Thanks! 👍

https://plurrrr.com/archive/2023/01/17.html

AskUbuntu
4 days ago

Adding simple shortcut on the terminal, the right way #commandline #scripts #2204 #paths

https://askubuntu.com/q/1470613/612

AskUbuntu
4 days ago

How to put sudo operations (apt-get) on a shell script? #commandline #apt #bash #scripts #sudo

https://askubuntu.com/q/1470588/612

Flauschfläche :verified:
4 days ago

Habe ich schon mal mitgeteilt dass ich ffmpeg liebe?
10 sec. Schnipsel aus Video isolieren - so einfach gehts:
ffmpeg -i ORIGINAL.mp4 -ss 00:11:07 -to 00:11:17 -c:v copy SCHNIPSEL.mp4

Dauert nur wenige Sekunden, kein neues Rendering, kein Qualitätsverlust. <3 #Linux #ffmpeg #commandline #videoschnitt

Negative12DollarBill
4 days ago

I'm going to give you a line of code which will make your lives better almost straight away:

You're welcome.

#MacOS #unix #linux #code #commandline #graphics #webp #ImageMagick

A one-liner for linux: “find . -name "*.webp" -exec convert {} {}.jpg \; -delete”
Zac
5 days ago

I used to think that having to use a command line was a sign of failure. Some dev was just too lazy to write a GUI for a process and I had to suffer because of it.

Since I started coding in Python (and a bit earlier when I started doing Node.js) I have been using the command line more and more. And now I am even doing my git commits and pushes using it.

#git #CommandLine #Terminal

A screenshot of a terminal session where the writer is committing and pushing changes to a git repo. 

It even looks more boring than that sentence sounded.
AskUbuntu
6 days ago

Landscape-api couldn't parse value as data #commandline #landscape

https://askubuntu.com/q/1470420/612

AskUbuntu
6 days ago

autocomplete-like feature in terminal that shows several options #commandline

https://askubuntu.com/q/1470386/612

Linux Magazine
6 days ago

Issue 272 On the DVD: The July issue is available now! The print edition includes @fedora Workstation 38 and @xubuntu 23.04. Buy direct from us to get the best price and get it faster! https://www.sparkhaus-shop.com/magazines/linux-magazine.html #Linux #OpenData #CKAN #ODI #CommandLine #backup #database #OpenSource

Linux Magazine Issue 272 - July 2023 | Open Data | Reverse Engineer a Bluetooth Device | DVD: Fedora Workstation 38 and Xubuntu 23.04
AskUbuntu
6 days ago

how to bypass linux web server root password #commandline #server #password

https://askubuntu.com/q/1470342/612

AskUbuntu
1 week ago

rc-local.service: Failed with result 'exit-code' #commandline #2004 #systemd #vps

https://askubuntu.com/q/1470311/612

AskUbuntu
1 week ago

Aa kredit Loa n Custome r Ca re Nu mber//7978219952✅6289176203%Call me #commandline #drivers #1204 #server #partitioning

https://askubuntu.com/q/1470323/612

AskUbuntu
1 week ago

What is the safest and most efficient way to remove multiple applications installed by 'sudo apt install gnome-*'? #commandline #apt #2004 #gnome #gnometerminal

https://askubuntu.com/q/1470280/612

\x1b orhun 👾
1 week ago

New Arch Linux official package: repgrep! 🚀

🦀 An interactive replacer for ripgrep that makes it easy to find and replace across files on the command line.

🐧 https://archlinux.org/packages/extra/x86_64/repgrep/ (pacman- S repgrep)

⭐ GitHub: https://github.com/acheronfail/repgrep

#rustlang #commandline #linux

AskUbuntu
1 week ago
AskUbuntu
1 week ago

How to run shell script as regular user and then exec sudo in shell script? #commandline #bash #ssh #sudo #juju

https://askubuntu.com/q/1470209/612

Hal Pomeranz
1 week ago

This November the good folks at NineStar connect will be sponsoring a free run of my two-day Linux Command Line Skills class at their facility in Greenfield, IN. I’ll be there in person and we’ll get our geek on!

https://www.eventbrite.com/e/technology-seminar-series-linux-command-line-for-analysts-operators-tickets-647342527927

#Linux #CommandLine

Open Source Pro
1 week ago

"Für alle #Linux- und #OpenSource-Enthusiasten da draußen: Mit dem Befehl "lsof" könnt ihr offene Dateien und Sockets anzeigen lassen und somit mögliche Probleme schnell erkennen und beheben! Effektives Debugging leicht gemacht! #TechTips #CommandLine #SysAdminLife"

Open Source Pro
1 week ago

"Mit #Linux und der Anwendung von #OpenSource-Tools lassen sich selbst komplexe Systemaufgaben mit Leichtigkeit bewältigen. Hier ein Tipp: Nutze #grep -i für eine case-insensitive Suche in Textdateien! #Tech #CommandLine #LinuxLove 🐧💻🚀"

FOSSlife
1 week ago

Text Processing: @hal_pomeranz provides a crash course on text processing and filtering capabilities in Linux https://www.fosslife.org/linux-text-processing-and-filtering #Linux #CommandLine #shell #tools #FOSS #text #sysadmin #OpenSource

two adult penguins walking with 16 baby penguins in the snow
\x1b orhun 👾
1 week ago

Released the new version of the command-line tool (rpaste) as well! 🦀

⭐️ GitHub: https://github.com/orhun/rustypaste-cli

#rustlang #commandline

\x1b orhun 👾
1 week ago

I'm happy to announce that we have released the new version of "ratatui" today! 🐀🎉

🦀 Build rich terminal user interfaces using #rustlang

⭐ Changelog: https://github.com/tui-rs-revival/ratatui/releases/tag/v0.21.0

🚀 Blog post about this release: https://blog.orhun.dev/ratatui-0-21-0/

#terminal #tui #commandline #linux

\x1b orhun 👾
2 weeks ago

Just released the new version of "gpg-tui"! 🔐

🦀 Manage your GnuPG keys with ease!

⭐ GitHub: https://github.com/orhun/gpg-tui

🚀 Update: clap is updated to v4, thanks to @\anas_elgarhy for their contribution!

#gnupg #linux #commandline #rustlang

char
2 weeks ago

snips.sh: SSH-powered pastebin with a human-friendly TUI and web UI
https://snips.sh

#pastebin #ssh #commandLine

\x1b orhun 👾
2 weeks ago

One of the obscure features of Git is definitely subtrees 😵‍💫

🐚 Subtree Tutorial: https://www.atlassian.com/git/tutorials/git-subtree

💫 Subtree Basics: https://gist.github.com/SKempin/b7857a6ff6bddb05717cc17a44091202

#git #commandline

Sometimes you just have to write a little linux-fu. This little scribble will tell you how much space is being saved through the use of hardlinking duplicate files.

find . -type f -links +1 -printf '%i %s\n' | sort | uniq -c | awk '{print ($1-1)*$3}' | awk '{n+=$1}; END{print n}' | numfmt --to=iec-i

Here's an annotated version explaining each utility being used along the way.

#linux #unix #commandline #utilities

IT News
2 weeks ago

Linux Fu: Making Progress - The computer world looks different from behind a TeleType or other hardcopy termin... - https://hackaday.com/2023/05/24/linux-fu-making-progress/ #hackadaycolumns #commandline #linuxhacks #linux

\x1b orhun 👾
2 weeks ago

Are you using mouse while copying output from the terminal? Well, not anymore.

🚀 yank: Yank terminal output to clipboard!

⭐️ GitHub: https://github.com/mptre/yank

#linux #commandline

Adam
3 weeks ago

Markdown Viewers for the Linux Command Line

Updated with...
- add viewer frogmouth
- add software license
- change glow version
- change last paragraph

https://www.adamsdesk.com/posts/linux-markdown-viewers/

#commandline #linux #terminal #tui #cli

Markdown logo with text that reads, Markdown Viewers.

Don't use a sledgehammer to crack a nut. If you don't need all the power of sed, you might find tr is enough.

https://www.howtogeek.com/886723/how-to-use-the-linux-tr-command/

#Linux #commandline #CLI

Full Queue Developer
4 weeks ago

How to build your iOS app on the command line for the App Store & TestFlight 💜 S3E8

Live now on Twitch!

https://twitch.tv/FullQueueDeveloper

#iOSDeveloper #SwiftDeveloper #BuildTools #CommandLine #BuildInPublic #LiveCoding

M.J. 🌻
4 weeks ago

OK, so I just learned about scp's -3 option which allows two remote endpoints using the initiating instance as a relay.

So you can do: scp -3 foo@example.com:/path/to/source.tar bar@example.net:/path/to/dest.tar

So cool.

#Linux #CommandLine

Linux Magazine
4 weeks ago

Did you miss this week's Linux Update newsletter? Catch up on what you missed and subscribe free to get it every week https://mailchi.mp/linux-magazine.com/linux-update-security-audits-from-the-command-line #security #Lynis #CommandLine #Peropesis #BrOS #deepin #IoT #jobs #events #Bash #shell

Linux Update | No. 308 | May 11, 2023 | Security Audits from the Command Line
Unix Weekly
1 month ago
Adam
1 month ago

Markdown Viewers for the Linux Command Line

Updated with...
- add viewer inlyne
- add new glow features
- change bat version
- change mdcat version

https://www.adamsdesk.com/posts/linux-markdown-viewers/

#commandline #linux #terminal

Markdown logo with text that reads, Markdown Viewers.
Mark Gardner ‍:sdf:
1 month ago

#ECMAScript 2023 (its friends still call it #JavaScript) will standardize allowing #Unix-style shebang lines to indicate a #CommandLine interpreter.

https://github.com/tc39/proposal-hashbang/blob/gh-pages/README.md#why-hashbang-instead-of-shebang

Of course, the JavaScript kiddies want to call them “hashbangs” because “hash is commonly associated with modern terms involving # such as #hashtag.” No respect for tradition 🧓🏻

#ES2023 #Ecma #TC39

atuin shell history: Replaces shell history with a sqlite database, enabling all sorts of powerful tricks
https://github.com/ellie/atuin
#via:hackernews #commandline #history #sqlite #bash #unix #cli #+

Linux Magazine
1 month ago

Issue 271: Smart Home is available now! This month's DVD has SystemRescue 10.0 and Linuxlite 6.4. Order your copy today in print or digital format https://www.sparkhaus-shop.com/magazines/linux-magazine.html #security #IoT #Linux #Bash #RaspberryPi #CommandLine #CMS #FPGA #tutorial #SystemRescue #LinuxLiteOS

Linux Magazine Issue 271 - June 2023 | Smart Home: Do-it-yourself automation for practical tasks
Shi
1 month ago

Kennt ihr gute #Tutorials/Programmieraufgaben für Anfänger für #Linux #Commandline und/oder #Bash Scripting, die über die absoluten Grundlagen hinausgehen? Auf Deutsch oder Englisch. Dann bitte her damit! 😁
Bitte teilen.
#Terminal #Konsole #Scripting #beginner

Pragmatic Bookshelf
1 month ago

Need a new language for sysadmin tasks? Try Go. Ricardo Gerardi @ricardogerardi shows you the basics in just a few minutes:
https://medium.com/pragmatic-programmers/how-to-get-started-programming-in-go-4122f8e48e7a

His book:
https://pragprog.com/titles/rggo/

#golang #sysadmin #commandline #programming

Linux Magazine
1 month ago

Looking for a small-scale, minimal, GUI-less OS? Check out the latest release of command-line only Peropesis https://www.linux-magazine.com/Online/News/Command-Line-Only-Peropesis-2.1-is-Available-Now #Linux #Peropesis #OpenSource #CommandLine #FOSS #distro #hardware

Linux Magazine News
Joan Leon
1 month ago

📝 Command Line Tip

Run "curl https://checkip.amazonaws.com" to get your public IP

I created an alias to remember it 😊

#CLI #CommandLine #Network

alias mypubip='curl https://checkip.amazonaws.com'
R. L. Dane
1 month ago

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

#Linux #Unix #CommandLine #PDF #GhostScript

lorddimwit
1 month ago

Best #OperatingSystem #CommandLine interface style (both from user and implementation perspectives):

#TIL that #Miller exists, a #commandline tool for manipulating CSVs, TSVs, JSON, etc, that replaces awk, sed, etc, quite handily for quick file manipulation: https://miller.readthedocs.io/en/6.7.0/

Lisa
1 month ago

While clearing out some messy directories on my laptop, I stumbled upon this old gem:
From that time I was working as a sysadmin, got bored, and wrote a solitaire game to play on the console.

#gamedev #sysadmin #coding #commandline

A screenshot of a solitaire card game, rendered in ascii text on a unix terminal.
Elijah Manor
1 month ago

🎥 LazyVim: Linters & Formatters https://youtu.be/a_ZpTPaSn38

🎤 In this video I…

1️⃣ Introduce a few default linters
2️⃣ Add a few LazyVim plugin linters and formatters
3️⃣ Navigate diagnostics across a project
4️⃣ Show how to fix problems
5️⃣ Add your own custom linters

#vim #neovim #terminal #commandline

YouTube thumbnail for LazyVim Linting & Formatting with logos of Neovim, ESLint, and Prettier
Elijah Manor
1 month ago

🏠 Life happened last night so I didn't make much progress on the next video, but…

🐶 Our dog woke up barking at 3:30am so I got up & worked for a few hours before I started work

🎥 I made good progress & I'll work on it more tonight with a tentative launch tomorrow https://youtube.com/@elijahmanor

#vi #vim #nvim #neovim #commandline #terminal

Elijah Manor
1 month ago

$ escape room

https://turnoff.us/geek/escape-room/

#vim #neovim #commandline #terminal

classic joke, but hadn't seen this take before

Person walks into an Escape Room to find a terminal running vim and chaos ensues
KDE
1 month ago

The newest version of Kate, released with KDE Gear ⚙️ 23.04, now boosts its LSP features with inlay hints, allowing you to code faster and more accurately. You can also open an embedded terminal in the Windows version, giving you instant access to KDE's powerful commandline tool.

https://kate-editor.org/

#apps #gear #IDE #programming #commandLine

Kate's LSP extension hints at corrections and suggestions
Kate on Windows shows off its embedded terminal pane.
KDE
2 months ago

Do you work at Microsoft* but also miss a powerful terminal emulator? New in KDE Gear ⚙️ 23.04: Konsole now works on Windows too!

More at:

https://kde.org/announcements/gear/23.04.0/

---

* We couldn't think of another reason of why you would still be using Windows over Plasma 🤷

#terminal #windows #commandLine

KDE's terminal emulator Konsole running on the latest MS Windows.
Alexander Zeitler
2 months ago

TIL you can show lines before and after a grep match, e.g.

❯ sudo apt-key list | grep -A 3 dropbox

lists the line including the match and the next three lines [A]fter the match.

[B]efore works similar and of course, -A and -B can be combined.

#linux #commandline #shell

C & C++ Weekly
2 months ago

Project: A beautiful TUI periodic table for GNU/Linux terminals (ptable) in C - no dependencies

https://github.com/velorek1/ptable

Discussions: https://discu.eu/q/https://github.com/velorek1/ptable

#commandline #cprogramming #linux #programming #unix

Yann Büchau :python:
2 months ago

A friendly Italian 🇮🇹 colleague of mine made a meme about me preferring the #Terminal over graphical user interfaces as I don't like #GUI's doing weird stuff behind my back 😅

And it's true: I edit pretty much any text exclusively in :vim: #vim and wherever I can I use the #commandLine instead of graphical apps. I don't like graphical point-and-click #CAD but prefer :openscad: #OpenSCAD / #pythonSDF, write my #TexLaTeX papers in #vim, code my #Arduino's in #vim and flash with #PlatformIO, etc. 😊

Variation of Paul Noth's ”Et tu Little Caesar” cartoon with the kid removed.

Stabbed Caesar in the middle labeled ”Yann”, around stand seven men pointing knives at him labeled ”Arduino GUI”, ”IRGASON GUI”, ”File GUI”, ”Git GUI”,  ”CAD GUI”, ”LaTeX GUI”, ”Package GUI”
Elijah Manor
2 months ago

🎥 Neovim 0.9.0 New Features https://www.youtube.com/watch?v=3TRouzuWOuQ

1️⃣ Treesitter syntax highlighting for help files
2️⃣ Native Treesitter Inspect Window
3️⃣ Status Column for fold, sign, & number
4️⃣ EditorConfig support
5️⃣ NVIM_APPNAME support for config directories
6️⃣ Run Lua scripts from the shell
7️⃣ showcmdloc informational status
8️⃣ splitkeep to control horizontal split scroll
9️⃣ Lots more!

#neovim #vim #terminal #commandline

/home/Leo/mastodon
2 months ago

Did you know the command line in #Linux has a trash can, same as the desktop? It's called trash-cli & they work together!

To trash a file:
trash /file/path

To untrash a file:
trash-restore [then select the file]

It's in your repo!

Thanks Andrea Francia!
#CLI #CommandLine #OpenSource #FOSS

An orange wire trash can with various paper and toys inside.
2 months ago

i really value command line programs like irssi or bluetoothctl. i use both daily. but i did have to be shown how to use both of them! it took about 5 minutes for someone to show me how to use each one. but on my own, i don't know if i would've ever figured it out (think of all the steps necessary: being specific enough to want command line versions of stuff, researching options, trying multiple programs, reading man pages, figuring out which of the many options and keyboard shortcuts are the "good ones" that actually do the small handful of things you actually need to do with the program, etc.)

i guess vim is similar in a lot of ways. i love teaching people vim lol. it's like watching a baby horse learn to walk! it's extremely awkward at first, but when everything clicks into place, it's beautiful lol.

anyway, i'm grateful to the people who showed me how to use these tools, and i try to share knowledge of how to use them too.

#programming #CommandLine #irssi #bluetoothctl #teaching #learning

ADMIN magazine
2 months ago

Command-line stress testing: Ali Imran Nagori shows you how to load test your website with Siege https://www.admin-magazine.com/Archive/2022/72/Load-test-your-website-with-Siege #performance #sysadmin #Siege #LoadTesting #CommandLine #Linux #Ubuntu

illustration of person looking stressed with their head in their hands
Elijah Manor
2 months ago

📊 Results so far on my next YouTube video idea are neck and neck. Do you have a vote? https://www.youtube.com/channel/UCTCDjn7rnejAvhOrhlVgZrw/community?lb=Ugkxoz3_Ex4C6ZY2_HS5N-DWs7K-VwWgT_eD #vim #neovim #commandline #terminal

Elijah Manor
2 months ago

🆕🎥 Neovim Config Switcher https://youtu.be/LkHjJlSgKZY

⚙️ In this video, I show a new feature of #Neovim nightly that allows for quickly switching between configurations so that you can experiment or swap between special setups

#neovim #vim #terminal #commandline

YouTube thumbnail of "Neovim Config Switcher" showing an example of the `nvims` command
Elijah Manor
3 months ago

🆕 🎥 Effective Nerd Fonts in Multiple Terminals https://youtu.be/mQdB_kHyZn8

🔎 In this video I focus on how to…

1️⃣ Find, download, install, and test Nerd Fonts
2️⃣ Setup in iTerm, Alacritty, Kitty, and WezTerm
3️⃣ Switch to use a primary non-patched font and a fallback Nerd Font
4️⃣ Cover edge cases

#vim #neovim #terminal #commandline

YouTube thumbnail about Nerd Fonts in iTerm, Alacritty, Kitty, and WezTerm
Aral Balkan
3 months ago

My kingdom¹ for a terminal emulator that:

1. Works under Wayland.

1. Has split panes.

2. Conforms to GNOME’s design guidelines (is a GTK window, reacts to system colour scheme changes, etc.)

I can get WezTerm pretty close to this but its window looks entirely alien and while I’ve managed to configure it to switch themes when the colour scheme changes, it has a tendency to lose its title bar when it does. 🤦‍♂️

#terminal #commandLine #cli #linux #fedora #gnome #wayland

¹ Not much of a kingdom.

i get that Linux gets flack for having a sharp learning curve, and it's true that hardware compatability can be a challenge...

but dang, i just printed 60+ pdfs with a single simple command:

lp -d PRINTERNAME *.pdf

that would have taken ages if i had to point and click and load every single one.

#linux #commandLine

Zac
3 months ago

This is just brilliant

https://tut.anv.nu

Half tempted to install it and give it a try :-)

#CommandLine #Mastodon

Hal Pomeranz
3 months ago

You're looking through your web content tree after an exploit for encoded web shells left behind by an attacker. These web shells installed as long lines of encoded commands. Locate all files in a directory that have any lines that are longer than 256 characters.

#Linux #DFIR #CommandLine #Trivia

Eric Vitiello
3 months ago

Rewriting a Git repo to remove secrets from the history

#Git #CommandLine
https://til.simonwillison.net/git/rewrite-repo-remove-secrets

Eric Vitiello
3 months ago
Clayton Errington 🖥️
4 months ago

Command Line vs GUI Windows programs. Which do you prefer writing and using is part of today's #Blog

https://claytonerrington.com/blog/command-line-vs-gui-windows/

#100DaysToOffload post 19

#Programming #coding #gui #commandline

Hal Pomeranz
4 months ago

Write a Linux command line to find all executables that are group or world writable or which are installed in group or world-writable directories.

#Linux #DFIR #CommandLine #Trivia

Hal Pomeranz
4 months ago

Yesterday's Linux DFIR command line trivia asked why this command might be useful:

ls -li /usr/bin | sort -n

Several people correctly identified that this would produce a detailed directory listing sorted by inode number. But why should we care?

This is a quick and dirty form of "outlier analysis". When the operating system is installed and binaries are stuffed into /usr/bin, they're likely going to get nearly sequential inode numbers. Over the lifetime of the system, patches may add binaries in /usr/bin, and those new files will get their own tight clusters of inode values. When you sort the directory by inode number, you'll see those clusters of inode numbers, but in general the dates on the files should be increasing with the inode numbers.

Now suppose an attacker drops a bunch of malware into /usr/bin. Again, those new files are going to tend to get tightly clustered inode numbers, so it will be easy to see which files came in together. Also, if the attacker tries to set timestamps on the files to make them "blend in", sorting the directory by inode number will make the timestomped files stand out, because the dates will no longer be increasing with the inode numbers.

This isn't a perfect investigative mechanism by any means. For example, the attacker could overwrite an existing binary. The new binary would get the inode of the original file. The attacker could then timestomp the new binary to make the timestamps look like the original file. Though if the attacker fails to fix the creation date on the file, it will really make their change stand out... if the analyst thinks to check the creation dates and not just the last modified date that "ls -li" shows by default.

The other issue is that this sort of outlier analysis is generally only useful on directories like /usr/bin that are relatively static. Trying to do this on a busy user home directory or directory like /var/log or /tmp is going to be a mess.

#Linux #DFIR #CommandLine #Trivia

Hal Pomeranz
4 months ago

Why is this command line useful?

ls -li /usr/bin | sort -n

#Linux #DFIR #CommandLine #Trivia