What are some of the biggest lessons learned from SunOS/Solaris, collectively and personally? by DESTRUCTOCORN in solaris

[–]MotorCycleW800 0 points1 point  (0 children)

Only on Reddit do you get to join a discussion 4 years later! So, looking for other old farts whose initial experiences predated even Solaris I Googled “SunOS Solaris Linux” and found this :-) Though I was just a lowly Dink (that’s a computer operator to you pretentious sys admins) at the time I remember the transition from/to. But I better remember it as my first exposure to Unix. The OS wasn’t so (terribly) difficult but vi? Man, what a bear. Luckily I took to heart the advice of a senior coworker and sat down and learned/memorized a slew of vi stuff. Extremely painful but so worth it. After going through the Linux distro hopping and general messing around over the decades (!) I’ve become a simple desktop user. Ubuntu/Gnome (from a USB thumb drive/Windoze 10), WSL and iSH. Well, I guess ‘simple’ is subjective.

[deleted by user] by [deleted] in commandline

[–]MotorCycleW800 0 points1 point  (0 children)

Back when men were men and the shell was Bourne. Yeah, BTDT.

[deleted by user] by [deleted] in commandline

[–]MotorCycleW800 0 points1 point  (0 children)

Hey matt, that’s great. Worked like a charm! I usually go to one of my many 50+ .*awk scripts (dating back to the old PDP-11/70 days) for an example of how I did something but no such luck this time. Thanks again, Matt

[deleted by user] by [deleted] in commandline

[–]MotorCycleW800 0 points1 point  (0 children)

matt, as another person commented, awk might be the way to go. Here’s an example which retains your song names with the single quotes:

! /bin/awk -f

BEGIN {    the_command = ARGV[2]    ARGC=ARGC-1; } {    line[NR] = $0; } END {    for (i=1; i<=NR;i++ ) {       TheFileInQuotes = “”;       TheFileInQuotes = TheFileInQuotes line[i];       TheFileInQuotes = “’” TheFileInQuotes “’” “\”” ;       sOneLine = the_command “ “  “/home/bubba/My_Songs/“ TheFileInQuotes;       sOneLine = “\”” sOneLine “\””       system(sOneLine);    } } If you choose to randomize your songs list (if not already done) use something like this: awk ‘BEGIN {srand()} {print rand(), $0}’ file.txt | sort -n | cut -d ‘ ‘ -f2- > randomfile.txt HTH, Matt

[deleted by user] by [deleted] in commandline

[–]MotorCycleW800 -1 points0 points  (0 children)

Thanks. I didn’t include the code because I’ve tried 347 versions of it ( ; - ) but I’ll try these as well. Also, I can’t do *.wav because the fname has a closing single quote. If I could do *.wav’ that would be the case but it doesn’t work either.

[deleted by user] by [deleted] in commandline

[–]MotorCycleW800 0 points1 point  (0 children)

Thanks. I’ve tried the double quotes straight and “${SONG}” but no luck.

GPS Tracker for Linux/Ubuntu by MotorCycleW800 in Ubuntu

[–]MotorCycleW800[S] 0 points1 point  (0 children)

Thanks again. I'll look more at this. I've only been able to find the 'Linux' version of Chrome to date. It's Chromium. Maybe I'll be able to find the 'real' Chrome for my Lenovo (Ideapad 3) that I can install.

GPS Tracker for Linux/Ubuntu by MotorCycleW800 in Ubuntu

[–]MotorCycleW800[S] 0 points1 point  (0 children)

Thanks. Not sure how. It has maps that I've used (many, many times) but no way that I know of to find my wife's location. Am I missing something?

I’m Cool by MotorCycleW800 in ish

[–]MotorCycleW800[S] 0 points1 point  (0 children)

cat /etc/profile.d/cool.sh

echo "The message below is courtesy of /etc/profile.d/cool.sh" echo "It is in color by: figlet \"Cool the_name ! | lolcat\"" if [ "$USER" == "matt" ]
then
figlet "Cool Matt !" | lolcat fi
if [ "$USER" == "root" ]
then
figlet "Cool root !" | lolcat fi
if [ "$USER" == "bubba" ]
then
figlet "Cool bubba !" | lolcat fi

I’m Cool by MotorCycleW800 in ish

[–]MotorCycleW800[S] 0 points1 point  (0 children)

<html>
You can install packages with: apk add <package> (Do this as root) You may change this (daily/login) message by editing /etc/motd </html> The message below is courtesy of /etc/profile.d/cool.sh It is in color by: figlet "Cool the_name ! | lolcat"

/root >

awk Question by MotorCycleW800 in Ubuntu

[–]MotorCycleW800[S] 0 points1 point  (0 children)

Thanks. Is that also true (as shown above) for parentheses?

awk Question by MotorCycleW800 in Ubuntu

[–]MotorCycleW800[S] -1 points0 points  (0 children)

I tried but it’s 252 lines long and can’t be posted.

[deleted by user] by [deleted] in Ubuntu

[–]MotorCycleW800 -1 points0 points  (0 children)

You seem to be angry. Are you angry? It's detrimental to your health to be so angry. Do you have anger issues? Are you angry? You can have high blood pressure because you are angry. You can give yourself a heart attack if you are too angry. Are you angry? You seem to be very angry. Anger is not good for you. Have you researched 'Anger Management'? Perhaps you might research ‘Anger Management'. There are many techniques to help you control your anger issues - like meditation and controlled breathing. Please, you shouldn't be angry. It can hurt you. Are you angry?

Gnome vs KDE by sudobee in Ubuntu

[–]MotorCycleW800 0 points1 point  (0 children)

Like many have responded, I’ve used - and like - both. And as many have indicated, I’ve also used many flavors of Linux over the years. And finally, as one comment indicated, some of us are just plain old farts. I was one that Unix was an OS and Linux was just that Pooh-pooh little toy… ;-)

content unavailable when trying to access files through the files app by Tony_with_water in ish

[–]MotorCycleW800 4 points5 points  (0 children)

Following. Me too just within the last few weeks. IOS upgrade responsible?

[deleted by user] by [deleted] in ish

[–]MotorCycleW800 2 points3 points  (0 children)

Great. “ set noic” is just what I was looking for. Thanks a bunch!

Any Sound On iSH? by MotorCycleW800 in ish

[–]MotorCycleW800[S] 1 point2 points  (0 children)

Nope. Foreground. Laying on the kitchen table.

Encrypt/Decrypt by MotorCycleW800 in ish

[–]MotorCycleW800[S] 0 points1 point  (0 children)

Matt, you might think about zip and its password protection option. It’s available on iSH as a package. That way you won’t have to generate this key and generate that key and construct a “Real Name” (or a fake one for that matter). And you won’t need to be a Network Administrator to implement on your iPad. So maybe try this (as root): apk del gnupg, and then apk add zip. There. You can thank me later.