I'm on windows pc. How come certain commands don't work?


#1

Even though I know this is just for practice on this program and I'm actually getting it. How come certain commands don't work when I actually try it out on the command prompt from my computer. Do I have to used the administrator version or would it just not work. I'm on windows pc. OS10.


#2

This course is for unix-based systems such as Linux and Mac OS X.

The command line commands on Windows are different. Here are a few of the commonly used commands: https://www.sophos.com/en-us/support/knowledgebase/13195.aspx

Windows also has PowerShell. Here is a comparison between PowerShell, Windows cmd and Unix shell commands: https://en.wikipedia.org/wiki/Windows_PowerShell#Comparison_of_cmdlets_with_similar_commands


Outputting contents with cat, can't tell what I'm doing wrong
#3

Yeah. But why not windows? Is it worth me to keep going on if it's different?


#4

I guess Microsoft wanted to be different.

That's your choice really. It isn't a long course, and maybe it will come in handy in your future.


#5

Thanks man. Because I wanted to list all the files in a specific folder and "ls" wasn't working. But it basically is the same thing. The comparison chart between the two operation systems is very helpful. I will keep going. Thank you again.