πŸ‘︎ 36
πŸ’¬︎
πŸ‘€︎ u/avindrag
πŸ“…︎ Sep 13 2021
🚨︎ report
How do I remove the unix timestamp that comes with RCLCPP_INFO?

It takes half of the terminal space away.

Answer:

from launch.actions import SetEnvironmentVariable

return LaunchDescription([
    SetEnvironmentVariable('RCUTILS_CONSOLE_OUTPUT_FORMAT', '[{severity}]: {message}')
])
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/vantanike
πŸ“…︎ Aug 24 2021
🚨︎ report
Best Linux/Unix for old ThinkPad?

I'm soon going to be the owner of an IBM ThinkPad 760ELD. I want to dual boot Windows 95 and some Linux/Unix on it, but I'm unsure of what the best period-correct Linux to do would be. I'm thinking about Red Hat, but I can't find any info on system requirements.

The laptop itself is running a 100MHz Pentium with 16MB of RAM.

Does anyone have any suggestions for a good Unix-like to use with it?

πŸ‘︎ 19
πŸ’¬︎
πŸ‘€︎ u/Europa64
πŸ“…︎ Dec 31 2021
🚨︎ report
When an idiot tries to use a production server to learn Unix

Backstory: I worked on a windows helpdesk for a large company the remote offices all used Unix servers to run their print and file server as well as their local application.

Story: About 630AM customer calls me up one day β€œMy printer isn’t working.” My reply β€œSure let me check the printer queue and see what’s going on.” We had a login to pull up a menu system to clear queues and a couple of other functions. When trying to clear the queue it said I didn’t have permissions. I was given a command-line login to do the same thing. Again, it told me I didn’t have permission to clear the queue.

I walked over to the Unix Admin who just walked in. I explained the issue and he was surprised at this error. He logins to this server using Root, for the non-Unix people this is like logging into Windows using Administrator. When the Unix Admin tries to clear the queue, β€œYou do not have permissions!” I said, β€œOh crap there are WAY BIGGER issues going on than print queue.” Unix Admin β€œOh yea big time.” I replied, β€œI will put a ticket over to your queue in a min.”

In the investigation, it was found out someone on the application team used the root login to play around to learn Unix commands more, he did a CHMOD 777 -R from the root directory. This changes every file/folder to read, write and execute for user group and all. In other words, messing the entire server's folder permissions up so bad it cannot function. He didn’t want to buy an old computer and just put Linux on to learn but instead used a production server to learn off of.

The application team was given a different login to use that day and root was only used by Unix admin after that. The idiot who caused all this was yelled at to an inch of his life and basically told if he made 1 more screw up he would be canned. We were all shocked he wasn’t fired. We think because he was the only person who worked the graveyard and no one else ever wanted to work it that is the only thing that saved his job.

πŸ‘︎ 920
πŸ’¬︎
πŸ‘€︎ u/Ancient_Ice
πŸ“…︎ Jan 05 2022
🚨︎ report
Aero is a new modern, experimental, unix-like operating system made in rust!

Aero is a new modern, experimental, unix-like operating system following the monolithic kernel design. Supporting modern PC features such as long mode, 5-level paging, and SMP (multicore), to name a few.

Its already able to run programs such as the GNU coreutils, GNU binutils, Nyancat, TinyCC, GCC and soon doom generic and rust aswell :)

https://preview.redd.it/i4ofhde34t981.png?width=1074&format=png&auto=webp&s=a8972f82e1dd24cc101994bfd056f2a4f1953afc

GitHub: https://github.com/Andy-Python-Programmer/aero

Official Discord Server: https://discord.gg/8gwhTTZwt8

πŸ‘︎ 607
πŸ’¬︎
πŸ‘€︎ u/Andy-Python
πŸ“…︎ Jan 05 2022
🚨︎ report
Novak ĐokoviΔ‡: The amazing tale of a test certificate and the Unix timestamp that traveled through time. zerforschung.org/posts/dj…
πŸ‘︎ 295
πŸ’¬︎
πŸ‘€︎ u/untergeher_muc
πŸ“…︎ Jan 11 2022
🚨︎ report
BSD/Unix like Distribution?

After spending some weeks diving deep into OpenBSD, after years on the Linux ecosystem (multiple distros), there are reasons for which I love OpenBSD and other reasons for which I'm thinking about coming back to Linux. Although some of these OpenBSD attributes are inherited from the Unix way of doing things.

Pros of OpenBSD

  • Favoring simplicity. In contrast to the GNU userland, OpenBSD utilities are meant to be more concise, without feature-creep. E.g. the POSIX tools implementations (grep, cat, sed, etc.) vs. the GNU ones. Or doas vs sudo. Or rc vs systemd. Etc. This makes them easier to use, retain a clear full picture of them, and to master. And from the developer side: they are easier to develop, test and maintain.
  • Holistic approach. OpenBSD, AFAIC, is developed as a single unit (repository). All of it's components are meant to work in tandem with each other. Although it obviously also enables the user to add or change its different parts as they wish, since it's an open-source Unix OS. Actually, the whole concept of Linux distributions is this one exactly, isn't it? To glue all these packages so they can work properly together. Even so, I think OpenBSD might put more emphasis on this than the Linux distros I've tried, in my experience.
  • Better Documentation. Specifically: manual pages. They are treated as a first-class citizen, and it shows. Although I think GNU's info pages can also be as extensive, they can be too verbose and convoluted (this relates to the first point). They are also not as interconnected (which relates to the previous point). It feels very good to just run man afterboot and just be able to find anything I need from there (also apropos).
  • CLI centered. It follows the Unix axiom of avoiding interactive input. So your main platform is the shell and you can create pipelines of commands. E.g. man vs info. The later is meant to be used interactively while the first can, e.g., be piped to stdout and searched with grep. vi/mg vs GNU emacs. The first are meant to be used only as text editors while the shell is your main platform and Emacs is meant to be the platform itself. E.g. in Emacs you search content of files by using isearch in dired-mode, and if you are a vi user you use find and grep and then edit whatever files where outputted. Of course you can use one or the other in Linux or OpenBSD, these were just quick general examples to show the philosophy behind each.

Co

... keep reading on reddit ➑

πŸ‘︎ 87
πŸ’¬︎
πŸ‘€︎ u/Desmesura
πŸ“…︎ Nov 06 2021
🚨︎ report
Tools & Info for SysAdmins - UNIX and Linux Command Line, Active Directory, SSL Etc

Hi r/sysadmin,

Each week I thought I'd post these SysAdmin tools, tips, tutorials etc with just one link to get it in your inbox each week (with extras).

Let me know any ideas for future versions in the comments :)

A Free Tool

Termius is a complete command-line solution providing portable server management for UNIX and Linux systemsβ€”whether a local machine, a remote service, Docker Container, VM, Raspberry Pi, or AWS instance (similar to Putty for Android). This cross-platform Telnet, Mosh-compatible and SSH client allows you to securely access Linux or IoT devices to quickly fix issues from your laptop or phone. Thanks for this one go to blendelabor.

A Book

Learn Active Directory Management in a Month of Lunches is a practical, hands-on guide for those who are new to Active Directory. It covers the administration tasks that keep a network running smoothly as well as how to administer AD both from the GUI tools built into Windows and from PowerShell at the command line. Provides best practices for managing user access, setting group policies, automating backups, and more. All examples are based in Windows Server 2012.

A Free Service

Testssl.sh is a free command-line tool that checks a server's service on any port for the support of TLS/SSL ciphers, protocols, recent cryptographic flaws and more. Recommended by stuck_in_the_tubes who likes it "for when you need to assess protocol encryption without the use of external services."

Another Free Tool

Malwarebytes Anti-Malware should be your first stop if you suspect a malware infection. It is the most-effective malware removerβ€”featuring deep scans and daily updatesβ€”and blocks malware, hackers, viruses, ransomware and malicious websites that slip through your traditional antivirus. It's also available as a full AV program you can buy if you wish.

Yet Another Free Tool

WSUS Offline Update lets you safely patch any computer running Microsoft Windows and Officeβ€”even when there's no connection to the Internet or a network of any sort. More specifically, you first run WSUS Offline Update on a machine that has Internet connectivity to download the updates you need and copy the resulting update media to a USB dri

... keep reading on reddit ➑

πŸ‘︎ 122
πŸ’¬︎
πŸ‘€︎ u/crispyducks
πŸ“…︎ Nov 27 2018
🚨︎ report
As a data guy I always preferred Unix TimeStamps myself…
πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/NbyNW
πŸ“…︎ Nov 24 2021
🚨︎ report
Pro tip: When eating out with the kids, any crossword puzzle can be a Unix command crossword puzzle
πŸ‘︎ 2k
πŸ’¬︎
πŸ‘€︎ u/nixcraft
πŸ“…︎ Dec 09 2021
🚨︎ report
Bash CTRL Keys Cheat Sheet For Linux and Unix Terminal
πŸ‘︎ 1k
πŸ’¬︎
πŸ‘€︎ u/nixcraft
πŸ“…︎ Nov 30 2021
🚨︎ report
Unix in the Browser Tab browsix.org/
πŸ‘︎ 256
πŸ’¬︎
πŸ‘€︎ u/binaryfor
πŸ“…︎ Jan 06 2022
🚨︎ report
Following the Unix philosophy without getting left-pad raku-advent.blog/2021/12/…
πŸ‘︎ 122
πŸ’¬︎
πŸ‘€︎ u/fagnerbrack
πŸ“…︎ Dec 30 2021
🚨︎ report
Following the Unix philosophy without getting left-pad raku-advent.blog/2021/12/…
πŸ‘︎ 152
πŸ’¬︎
πŸ‘€︎ u/feross
πŸ“…︎ Dec 08 2021
🚨︎ report
Portable Lisp Dialects with Solid UNIX and Systems Programming Support?

Hello,

I have run into a bit of an annoyance with Common Lisp. While I do love it for several reasons one thing I can not get past is how hard it is to make CL programs portable. While there is a standard each CL implementation is so different that, in some ways, the standard feels useless. In addition to this there is little to no solid support for more systems related tasks, like working on lower level tasks in UNIX systems, unless you are using sbcl. These two issues have been a major turn off for me with CL, but I am in love with many aspects of lisp at this point. From the syntax to the ability to reprogram the entire language I just enjopy it a lot. I was curious if anyone here knew of a lisp dialect that is a little more portable and has solid support for systems tasks. In addition, one that is written in lisp itself would be ideal.

Update

No idea how, but this thread has just become like four people reasking me the same question about Common Lisp, me answering, and then them complaining about semantic thing I never even mentioned and then reasking the same question. I have no idea we got here, but this thread has been a spectacular failure with only like four people actually engaging with the question I even asked. If you found this thread via an internet search for the love of god just close the tab it is not worth your time to read this thread other than like four top answers. Learning lisp was easier than asking this question, some how. I only regret I can't get my time back. Thank you to the few people who actually read the thread and engaged in good faith you have extremely helpful. To the other people... I lack the communication skills needed to deal with you.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/FOSSilized_D43mon
πŸ“…︎ Jan 09 2022
🚨︎ report
For unix sysadmins out there, how important is knowing VIM?

I'm taking a unix sysadmin subject at uni right now, and the instructor is insistent that we use vim 100% for this class. I'm comfortable using vim for small changes to config files but I find it really slows me down for big projects. I'm just wondering if other sysadmins use vim for writing all their scripts or if they use gui based applications?

*edit*

Thanks everyone, I guess I'll stick with it for now. I've got a workaround for my clipboard issue (shift + ins).

πŸ‘︎ 116
πŸ’¬︎
πŸ‘€︎ u/Scrug
πŸ“…︎ Nov 22 2021
🚨︎ report
The Art of Unix Programming as an Info Node?

Is there a version of Eric Raymond's TAOUP (html version here: http://www.catb.org/~esr/writings/taoup/html/) as an info node? The book seems to be organized hierarchically, and I would like to browse it through emacs's info system.

πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/extremeaxe5
πŸ“…︎ Dec 25 2019
🚨︎ report
Linux/Unix Patch Mangement

Anyone have any recommendations for patching across the linux/unix side of the world like sccm does for MS.

I am aware of managengines production and aws's system manager.

Anyone use anything else?

Looking for info like how large the supported O/s's are

Reporting/ governance

grouping and scheduling

ability to choose what patches or just do everything

Cheers

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/Ravager6969
πŸ“…︎ Nov 23 2021
🚨︎ report
Simple tip from a long time C/UNIX programmer now learning Python.

When you are first starting out to learn a language like Python, type every line of code yourself, rather than just cutting and pasting google results. Even if you type an exact copy, the simple act of typing will help you quickly memorize the basic structures of the language.

πŸ‘︎ 354
πŸ’¬︎
πŸ‘€︎ u/ThatGuyFromOhio
πŸ“…︎ Dec 08 2021
🚨︎ report
Quick guide to Windows programming for Unix/Linux C programmers?

I've been doing C on Unix (and Linux) for 30+ years, using vi(m), (g)cc, make, etc. The issue I'm currently facing is I have a couple code modules I need to port to Windows (text-based console programs). In the past I've cheated and used Cygwin, but would like to put out some native Windows binaries.

What I've got so far is using mingw-gcc (that I can cross compile from my Linux-based CI/CD pipeline), and the only cross-compiling friendly / OSS Windows packaging tool I've found so far is NSIS.

Here's my problem. Most Windows programming tutorials want you to work in a Windows IDE, geared towards visual development. And the docs for mingw assume that you are already a Windows programmer. So what I'm looking for is a tutorial guide that takes you from "Here's you this looks in Unix, here is how you would do it in Windows". Examples I'm looking for:

In Unix, you begin your main() function with:

int main(int argc, char **argv)

In Windows:

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)

And you are responsible for parsing the command line yourself.

Now it appears that stdio functions work as expected, but of course any OS calls will be different (although there is a Posix compatible "_exec" series of calls, that may not be the prefered Windows way of calling another program, and Windows doesn't really have a fork() call, etc).

So is there any good quick-start guides just to get me up to speed (so I can finish off this one project)? I've also considered studying some open source code that has clean Windows ports too. Also, it appears that packages compiled with NSIS constantly get flagged by antivirus / IDS code. I guess there is something about code signing I need to look into also that can help in this area?

πŸ‘︎ 66
πŸ’¬︎
πŸ‘€︎ u/derekp7
πŸ“…︎ Dec 20 2021
🚨︎ report
Unix Time Bob
πŸ‘︎ 659
πŸ’¬︎
πŸ‘€︎ u/pootlab
πŸ“…︎ Dec 27 2021
🚨︎ report
But but the unix philosophy
πŸ‘︎ 548
πŸ’¬︎
πŸ“…︎ Nov 23 2021
🚨︎ report
Following the Unix philosophy of "a program should only say something when something unexpected has happened", when are loading bars appropriate?

In general I like the idea of code that runs quietly and fails loudly, etc. But sometimes it seems like it would be nice to know when that the code hasn't stalled, or how much it has done. Does that go against the unix philosophy? When and when not?

πŸ‘︎ 80
πŸ’¬︎
πŸ‘€︎ u/RichKat666
πŸ“…︎ Dec 26 2021
🚨︎ report
Please quit telling people to wipe their unix systems in CSE discords 😀🀦
πŸ‘︎ 74
πŸ’¬︎
πŸ‘€︎ u/bonned80
πŸ“…︎ Jan 04 2022
🚨︎ report
[XFCE] Unix? I've been using Windows 95 for the past 26 years. Plays doom great!
πŸ‘︎ 1k
πŸ’¬︎
πŸ‘€︎ u/ioletsgo
πŸ“…︎ Nov 15 2021
🚨︎ report
unfy - A command line utility that automagically replaces UNIX timestamps with human interpretable timestamps. github.com/JensRantil/unf…
πŸ‘︎ 72
πŸ’¬︎
πŸ‘€︎ u/binaryfor
πŸ“…︎ Dec 30 2021
🚨︎ report
Proposal to add 62167201438000 to all unix timestamps from this point forward

They'd all represent the same time afterwards, they'd just be larger by 62167201438000 milliseconds. That is all.

πŸ‘︎ 169
πŸ’¬︎
πŸ‘€︎ u/DynaBeast
πŸ“…︎ Dec 17 2021
🚨︎ report
Paste ETH wallet get free UNIX

https://unixswap.io/KZHDPM8

Click Airdop ==> Paste ETH wallet ==> Claim

πŸ‘︎ 59
πŸ’¬︎
πŸ‘€︎ u/tuandangbh
πŸ“…︎ Dec 05 2021
🚨︎ report
Unix in the Browser Tab browsix.org/
πŸ‘︎ 65
πŸ’¬︎
πŸ‘€︎ u/binaryfor
πŸ“…︎ Jan 06 2022
🚨︎ report
The UNIX Philosophy: "Do one thing, and do it well." Do you see similarities with Bitcoin Cash's philosophy? homepage.cs.uri.edu/~then…
πŸ‘︎ 15
πŸ’¬︎
πŸ‘€︎ u/KallistiOW
πŸ“…︎ Dec 19 2021
🚨︎ report
Humblebundle.com -> UNIX & Linux Book Bundle by O'Reilly

If someone is intereseted you can get a UNIX & Linux Book Bundle right now at Humblebundle

Books:

  • bash Cookbook
  • Linux Observability with BPF
  • Mastering Regular Expressions
  • Effective awk Programming
  • Linux Pocket Guide
  • Cybersecurity Ops with bash
  • Learning the Bash Shell
  • Learning the vi and Vim Editors
  • Linux in a Nutshell
  • sed & awk
  • Linux System Programming
  • Classic Shell Scripting
  • Linux Device Drivers
  • Introducing Regular Expressions
  • grep Pocket Reference
  • Unix Power Tools

Sorry if this has been posted allready.

edit: redid the list

πŸ‘︎ 55
πŸ’¬︎
πŸ‘€︎ u/gneg0401
πŸ“…︎ Sep 07 2021
🚨︎ report
The UNIX timestamp that Signal provided to the FBI was the most formal middle finger I've ever seen.
πŸ‘︎ 2k
πŸ’¬︎
πŸ‘€︎ u/DarkwraithKnight
πŸ“…︎ Oct 31 2021
🚨︎ report
Paper on the distribution of constants in programs (likely Unix?)

I clearly recall reading a paper that fed into the argument in favour of RISC designs, at least indirectly. IIRC, they ran statistics on the source code for Unix and found things like 95% of all numeric constants fit in 13 bits and 50% of those were zero and most funcs had zero parameters and so forth ...

For some reason I thought it was a paper by Tanenbaum, and he sent me some likely suspects but they're definitely not the ones I was thinking of - his were based on a psuedo-language written for the paper. Another possibility was the papers by Cocke as part of the 801 project, and there are some hits there, but again it's not the one I'm thinking of - and IBM wasn't big in Unix at that time so it's not surprising.

These failures to find the right one suggest that the paper came out of either Stanford or Berkeley during the early RISC efforts, or maybe PARC, but I have not found such a beast.

Does this ring any bells for anyone?

πŸ‘︎ 40
πŸ’¬︎
πŸ‘€︎ u/maurymarkowitz
πŸ“…︎ Jan 04 2022
🚨︎ report
My Unix development rig, 1983, Fortune Systems 32:16, Motorola 68000, 500 kb RAM, 10 MB HD, BSD 4.1. (more info in comments)
πŸ‘︎ 208
πŸ’¬︎
πŸ‘€︎ u/theFoot58
πŸ“…︎ Jun 07 2016
🚨︎ report
GNU is not UNIX
πŸ‘︎ 51
πŸ’¬︎
πŸ“…︎ Jan 07 2022
🚨︎ report
Unix sockets to shared memory

I had a requirement to implement client server model using ipc. With prerequisite that it should be single threaded and server should handle multiple clients I used Unix domain socket and epoll to achieve this. Now I have another requirement to implement the same using shared memory. How to synchronize between multiple connections about read/write notification? I know I can use semaphore, but I can't use threads for each connection. How to achieve this in single thread process? Using a pipe I can pass the event, but here the performance gain is lost because of the pipe. Any other way I can synchronize?

πŸ‘︎ 21
πŸ’¬︎
πŸ“…︎ Jan 11 2022
🚨︎ report
What's the main difference in Linux and UNIX? (read post)

I'm studying about Linux systems in University now. And I'm pretty confused if Linux and UNIX are two different entities cuz my college professor seems to use these terms interchangeably and creating all this massive chaos between these two lol. So I did some research at my own to see the difference but the results were quite confusing at first glance, so now I want yall to give me correct answer, are they both same or different????

πŸ‘︎ 13
πŸ’¬︎
πŸ“…︎ Dec 22 2021
🚨︎ report
Free UNIX altcoin airdrop. First 30 get one. May be useful in future NFT exchanges/purchases unixswap.io/70E6AVP
πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/Drnelk
πŸ“…︎ Dec 16 2021
🚨︎ report
Any other FOSS Unix implementations?

I know that GNU is a free and open-source implementation of the original Unix utilities. I’m just curious if there are any other less popular ones, maybe that died out, looking at this from a historical perspective.

πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/thecoder08
πŸ“…︎ Jan 05 2022
🚨︎ report
Here is my Christmas counter.. Esp32 get's current time from internet. I used Unix or epoch time to calculate days, hours until Christmas.. You can check whole project and code in comments! v.redd.it/7mlicfr7qq281
πŸ‘︎ 381
πŸ’¬︎
πŸ‘€︎ u/Danac1886
πŸ“…︎ Nov 30 2021
🚨︎ report
Still enjoying christmas at parents house. :) They still have a lot of CRTs. N64 in pure pristine S-video quality and some THX anime VHS :) + unix stuff reddit.com/gallery/ro6ss4
πŸ‘︎ 34
πŸ’¬︎
πŸ‘€︎ u/Ghost-X9
πŸ“…︎ Dec 25 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.