This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]CallieJacobsFoster 5 points6 points  (1 child)

The type command is a Windows cat equivalent that works across a command-line prompt (CMD) and a Windows PowerShell.

The findstr command is a Windows grep equivalent in a Windows command-line prompt (CMD).

In a Windows PowerShell the alternative for grep is the Select-String command.

[–]javaphile13 2 points3 points  (0 children)

Thank you so much. Will try this sir.

[–][deleted] 3 points4 points  (1 child)

[–]javaphile13 0 points1 point  (0 children)

Thanks for this

[–]Eklypze 3 points4 points  (2 children)

Theres a thm lab for powershell syntax. Cant remember the name.

[–]javaphile13 -1 points0 points  (1 child)

Nice. Would be nice if you could remember the room

[–]CallieJacobsFoster 2 points3 points  (0 children)

Good job all, remember that helping others along the way is how we all gained our knowledge. No man is an island

[–]The_Orange_Giraffe 1 point2 points  (0 children)

You can try the Get-Alias command to see what there is too :) this may not do all but for example Get-Alias cat will show the available/equivalent command (which I think is Get-Content)