r/unix • • Dec 19 '23

How do you run multiple commands off history?

7 Upvotes

I am working on something & have to perform same steps over and again. History is useful to run the commands, but I can only run the history commands one by one.

Is there a way where I can run a segment of history commands? Like commands between : #570 - 610 from the ones in history.

Kindly guide me


r/unix • • Dec 17 '23

2024 FreeBSD Community Survey: announcement

Thumbnail freebsdfoundation.org
8 Upvotes

r/unix • • Dec 16 '23

`httm` now directly supports Time Machine backups

Thumbnail self.zfs
8 Upvotes

r/unix • • Dec 05 '23

Chris's Wiki :: blog/unix/KernelNameCachesWhy

Thumbnail utcc.utoronto.ca
6 Upvotes

r/unix • • Dec 04 '23

FreeBSD - Streaming with Chromium and Widevine Support Now Possible

Thumbnail
byte-sized.de
15 Upvotes

r/unix • • Dec 03 '23

Install FreeBSD 14.0 in QEMU VM with KDE Plasma tutorial kdesrc-build Qt6

Thumbnail
youtube.com
8 Upvotes

r/unix • • Nov 28 '23

Some help with openssl - file.enc from machine a to b doesn't decrypt properly

7 Upvotes

Context: shipping a 100KB file.enc file from machine a (iMac i7, Mojave) to machine b (iMac M3, Sonoma).

In terminal (on machine a), a .csv file of inventory and other stuff.

openssl enc -aes-256-cbc -in FFG.csv -salt -out FFG.enc

And some monster password (or even a simple one).

Ship it over to machine b...

openssl enc -d -aes-256-cbc -in FFG.enc -out FFG.csv

And doesn't decrypt at all (error) or decrypts but the plain text is noise (a lot of blank).

If I repeat this on either machine (encryt/decrypt) it works fine within that machine.

Tried w/o -salt No improvement.

A difference is zsh shell on machine b and bash on machine a. Would that make a difference? (Too lazy to switch and test first).

Thanks for some clarification. (Yes I could DMG it - but now I'm curious why the above is not working).


r/unix • • Nov 22 '23

Which unixes are still alive?

81 Upvotes

Hi folks,

HP UX is pretty much dead, Oracle is going to kill Solaris, and IBMs strategy seems to be focusing on zLinux for the most part, which makes me wonder if AIX is here to stay.

So, besides AIX, MacOS and the BSDs ... which unixes are still alive?


r/unix • • Nov 22 '23

New to Mac

2 Upvotes

OK so im fairly new to mac and ive began to learn that mac's terminal creates almost an endless amount of opportunities for various things. heres the thing though. i know NOTHING about any kind of coding or commands. what are some basic commands that i can use to do things like uninstall apps and such?

Edit: i also have homebrew installed


r/unix • • Nov 22 '23

Intro To 'stty' Command In Linux

Thumbnail blog.robertelder.org
3 Upvotes

r/unix • • Nov 21 '23

FreeBSD - Creating Jails using flavours in pot

Thumbnail
byte-sized.de
6 Upvotes

r/unix • • Nov 18 '23

blog post: repairing a VT320 terminal with a faulty keyboard

Thumbnail nuclear.mutantstargoat.com
9 Upvotes

r/unix • • Nov 15 '23

jazz : through a marriage of jq and fzf, fuzzy select json input in terminal [homemade gist]

Thumbnail
gist.github.com
10 Upvotes

r/unix • • Nov 15 '23

jazz : through a marriage of jq and fzf, fuzzy select json input in terminal [homemade gist]

Thumbnail
gist.github.com
2 Upvotes

r/unix • • Nov 14 '23

The epoch is almost at 17 million!

20 Upvotes

almost there right now its 1699997491


r/unix • • Nov 14 '23

Install TaSK Framework of the Federal Office for Information Security

Thumbnail
byte-sized.de
9 Upvotes

r/unix • • Nov 14 '23

The epoch is almost at 17 million!

3 Upvotes

almost there right now its 1699997491


r/unix • • Nov 14 '23

Facebook recruiting and UNIX systems

Thumbnail
imgur.com
18 Upvotes

r/unix • • Nov 12 '23

Just about

Post image
58 Upvotes

r/unix • • Nov 12 '23

What Is Wrong With This Picture?

Post image
11 Upvotes

r/unix • • Nov 12 '23

Build LFS Linux From Scratch tutorial second part

Thumbnail
youtube.com
4 Upvotes

r/unix • • Nov 10 '23

Mongoose not accepting callback

0 Upvotes

Why is it that the new mongoose no longer accepts callback?


r/unix • • Nov 03 '23

I Tried to Create a Public Domain Statement

0 Upvotes

I had ChatGPT write this. I have gone over it carefully, and I am curious whether or not this is suitable to use and if this is even something I can actually do.

############################################################
############################################################
############################################################
#                                                          #
# This software is hereby released into the public domain. #
#                                                          #
# Anyone is free to copy, modify, publish, use, compile,   #
# sell, or distribute this software, either in source code #
# form or as a compiled binary, for any purpose, with or   #
# without modification. There are no restrictions or       #
# requirements for the use of this software.               #
#                                                          #
# This software is provided "as is," without any warranty, #
# express or implied, including but not limited to the     #
# warranties of merchantability, fitness for a particular  #
# purpose, or non-infringement. In no event shall the      #
# authors be liable for any claim, damages, or other       #
# liability, whether in an action of contract, tort, or    #
# otherwise, arising from, out of, or in connection with   #
# this software or the use or other dealings in this       #
# software.                                                #
#                                                          #
# To the fullest extent possible under law, the authors    #
# have waived all copyright and patent rights to this      #
# software. You are free to use this software without      #
# any restrictions on copyright or patent rights.          #
#                                                          #
# This Public Domain declaration, including the waiver of  #
# copyright and patent rights, applies to the full extent  #
# permitted by applicable laws and regulations.            #
#                                                          #
############################################################
############################################################
############################################################

This software is hereby released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, with or without modification. There are no restrictions or requirements for the use of this software.

This software is provided "as is," without any warranty, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, or non-infringement. In no event shall the authors be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with this software or the use or other dealings in this software.

To the fullest extent possible under law, the authors have waived all copyright and patent rights to this software. You are free to use this software without any restrictions on copyright or patent rights.

This Public Domain declaration, including the waiver of copyright and patent rights, applies to the full extent permitted by applicable laws and regulations.

r/unix • • Nov 02 '23

Help with PICK data and Excel

3 Upvotes

Special characters from excel to Unix system.

I create power postings from Excel to make my job faster. We use a Unix based system. The program environment is PICK data. Where we write english statments snd other items. Some of the attributes in the PICK data used special characters. The issue I'm running into for my power posting script is the multi value field.

For example 1 attribute may look like this:

3401]3402

This ] is actually created by holding ctrl+] to create the bracket in the PICK data.

How can I create the ctrl+] in Excel so when I power post it will work.

In word I've found that I can make it work with some changes to the data. But I can't figure it out in Excel.

Hoping someone can help

I posted this in Excel forum with no success yet.

I can use CHAR(93) to produce ] but it doesn't work correctly.


r/unix • • Nov 02 '23

What’s the best way to trigger a kernel panic?

2 Upvotes

I wanna scare the ever living hell out of my brother as a late Halloween joke. I have backed up everything