What Are You Doing Right Now
-
@Obsolesce said in What Are You Doing Right Now:
Way past that, and who cares. 100% of the stuff you do on Linux you install after the OS anyways. Why should PS6+ be treated different?
How are you past this? It's literally the argument that @scottalanmiller is having with you.
Functionality isn't a part of Powershell, you can install all of the functionality you may want/need later. But it's not included out of the box.
-
@DustinB3403 said in What Are You Doing Right Now:
I'm a bit of a novice to tell the difference between them, but am I correct in stating that powershell calls other functions that aren't a part of it, where bash has all of the functions built in?
Not at all. BASH has very few things actually built in. The majority of the things are external programs (ls, df, cat, grep, sed). Powershell just doesn't handle the external tooling as well yet.
-
@Obsolesce said in What Are You Doing Right Now:
@DustinB3403 said in What Are You Doing Right Now:
@Obsolesce said in What Are You Doing Right Now:
I click on it, it starts up right away, I start typing right after I click to open, hit enter, and get my uptime. I do not see this heavy slowness you speak of!
Did you see my above reference to this supposed
get-uptime
command not existing on Windows 10, 1809?Way past that, and who cares. 100% of the stuff you do on Linux you install after the OS anyways. Why should PS6+ be treated different?
Not BASH. It's Windows being treated differently here by you. Stick to apples to apples and you get one is functional, one is not (for uptime.) And one is fast, and one is slow.
-
@travisdh1 said in What Are You Doing Right Now:
@DustinB3403 said in What Are You Doing Right Now:
I'm a bit of a novice to tell the difference between them, but am I correct in stating that powershell calls other functions that aren't a part of it, where bash has all of the functions built in?
Not at all. BASH has very few things actually built in. The majority of the things are external programs (ls, df, cat, grep, sed). Powershell just doesn't handle the external tooling as well yet.
that's the same as PS. Both do almost everything externally.
-
@travisdh1 said in What Are You Doing Right Now:
@DustinB3403 said in What Are You Doing Right Now:
I'm a bit of a novice to tell the difference between them, but am I correct in stating that powershell calls other functions that aren't a part of it, where bash has all of the functions built in?
Not at all. BASH has very few things actually built in. The majority of the things are external programs (ls, df, cat, grep, sed). Powershell just doesn't handle the external tooling as well yet.
So to ask, how come BASH handles these tools better over Powershell?
-
@DustinB3403 said in What Are You Doing Right Now:
@Obsolesce said in What Are You Doing Right Now:
Way past that, and who cares. 100% of the stuff you do on Linux you install after the OS anyways. Why should PS6+ be treated different?
How are you past this? It's literally the argument that @scottalanmiller is having with you.
Functionality isn't a part of Powershell, you can install all of the functionality you may want/need later. But it's not included out of the box.
I feel that's an arbitrary point.
I don't need uptime of an out-of-box Linux system via BASH, or with Windows.
-
And don't say "because Microsoft".
-
@DustinB3403 said in What Are You Doing Right Now:
So to ask, how come BASH handles these tools better over Powershell?
Mostly I think we perceive that because the tools written with the assumption of being called by BASH are better than the ones written to be called by PowerShell. Now I think we are comparing ecosystems and in that space, the PS ecosystem is just ridiculous.
-
@Obsolesce said in What Are You Doing Right Now:
@DustinB3403 said in What Are You Doing Right Now:
@Obsolesce said in What Are You Doing Right Now:
Way past that, and who cares. 100% of the stuff you do on Linux you install after the OS anyways. Why should PS6+ be treated different?
How are you past this? It's literally the argument that @scottalanmiller is having with you.
Functionality isn't a part of Powershell, you can install all of the functionality you may want/need later. But it's not included out of the box.
I feel that's an arbitrary point.
I don't need uptime of an out-of-box Linux system via BASH, or with Windows.
Do you need to know how much free space the disk has, or how the CPU and RAM is performing?
-
@Obsolesce said in What Are You Doing Right Now:
I don't need uptime of an out-of-box Linux system via BASH, or with Windows.
Well, everyone else does. And on Linux we get it, and on Mac we get it, and on Solaris we get it, and on Windows we don't.
-
@DustinB3403 said in What Are You Doing Right Now:
And don't say "because Microsoft".
It is because Microsoft. Because it's closed source. Because the entire world can't pitch in, or couldn't really moreso until recently.
-
@DustinB3403 said in What Are You Doing Right Now:
@Obsolesce said in What Are You Doing Right Now:
@DustinB3403 said in What Are You Doing Right Now:
@Obsolesce said in What Are You Doing Right Now:
Way past that, and who cares. 100% of the stuff you do on Linux you install after the OS anyways. Why should PS6+ be treated different?
How are you past this? It's literally the argument that @scottalanmiller is having with you.
Functionality isn't a part of Powershell, you can install all of the functionality you may want/need later. But it's not included out of the box.
I feel that's an arbitrary point.
I don't need uptime of an out-of-box Linux system via BASH, or with Windows.
Do you need to know how much free space the disk has, or how the CPU and RAM is performing?
All things really easy on Linux BUT important to note that none of them are handled by Bash or PowerShell. All stuff called by those things.
-
@Obsolesce said in What Are You Doing Right Now:
It is because Microsoft. Because it's closed source. Because the entire world can't pitch in, or couldn't really moreso until recently.
That's not true. You can make open source on MS just as easily as on Linux (other than Windows being harder to develope for because the tools just aren't as good and the OS not as good.)
The issue is MS not including things by default that are considered basic functionality anywhere else.
And this was always the case. Even in the DOS 1 days. There has never been any restriction of that kind.
-
@DustinB3403 said in What Are You Doing Right Now:
@Obsolesce said in What Are You Doing Right Now:
@DustinB3403 said in What Are You Doing Right Now:
@Obsolesce said in What Are You Doing Right Now:
Way past that, and who cares. 100% of the stuff you do on Linux you install after the OS anyways. Why should PS6+ be treated different?
How are you past this? It's literally the argument that @scottalanmiller is having with you.
Functionality isn't a part of Powershell, you can install all of the functionality you may want/need later. But it's not included out of the box.
I feel that's an arbitrary point.
I don't need uptime of an out-of-box Linux system via BASH, or with Windows.
Do you need to know how much free space the disk has, or how the CPU and RAM is performing?
Sure, and that's easy sauce, but better in BASH IMO.
-
@scottalanmiller said in What Are You Doing Right Now:
That's not true. You can make open source on MS just as easily as on Linux (other than Windows being harder to develope for because the tools just aren't as good and the OS not as good.)
That was not at all or even close to my point or what I said / meant.
-
@scottalanmiller I think this is likely worth it's own topic what I'm going to ask.
But how and why does BASH work "universally" to call things like "top", "uptime", "df" where as with Powershell none of this seems to exist without going out and installing individual scripts into every system?
-
@DustinB3403 said in What Are You Doing Right Now:
@scottalanmiller I think this is likely worth it's own topic what I'm going to ask.
But how and why does BASH work "universally" to call things like "top", "uptime", "df" where as with Powershell none of this seems to exist without going out and installing individual scripts into every system?
Because they aren't apples to apples.
-
@scottalanmiller said in What Are You Doing Right Now:
The issue is MS not including things by default that are considered basic functionality anywhere else.
And you actually just answered it.
-
@DustinB3403 said in What Are You Doing Right Now:
The issue is MS not including things by default that are considered basic functionality anywhere else.
oh, but it's there! You can get uptime in PowerShell 5.1, but it's more typing.
-
@Obsolesce said in What Are You Doing Right Now:
Because they aren't apples to apples.
That isn't the answer though, @scottalanmiller stated it moments before I clicked submit. PowerShell and Windows in particular just don't include "basic tools" OOB.
You want them, go get it yourself.