Skip to main content

All Questions

Tagged with
87 votes
5 answers
49k views

What's the difference between one-dash and two-dashes for command prompt parameters?

I was wondering why is it that some programs requires their command prompt parameters to have two dashes in front whereas some (most) only require one dash in front? For example most programs look ...
Pacerier's user avatar
  • 27.5k
4 votes
2 answers
5k views

How to convert a text file's line termination from Windows/DOS to Unix? [duplicate]

Possible Duplicate: Convert CRLF’s to line feeds on Linux I have several scripts that produce a /bin/sh^M bad interpreter error message when they are run. I believe this is because they are ...
Chrisbux's user avatar
  • 558
52 votes
5 answers
96k views

Windows PowerShell equivalent to Unix/Linux `pwd`?

In follow-up to the cmd.exe question, what is the PowerShell equivalent to echo %cd%, or Linux/Unix pwd?
warren's user avatar
  • 10.2k
46 votes
4 answers
104k views

Is there a Windows equivalent of the Unix "strings" command?

strings in Unix and Linux extracts printable strings from a binary file. Is there a version of this for Windows? I couldn't find one.
johnny's user avatar
  • 2,003
5 votes
6 answers
452 views

Linux/Unix in Windows

What would be the best way to get the full-blown Unix/Linux bash inside Windows? I don't mean the Virtual Machine, but rather only the terminal with mounted NTFS drives. This way I could use the ...
Dmitriy Nagirnyak's user avatar
1 vote
1 answer
7k views

NT to UNIX group mapping in Samba 4

I want to map the NT Group Domain Users to a different UNIX group than users on my Samba 4.7.6 Active Directory Domain Controller, but when I try to do this, it fails as follows: > net groupmap ...
Ottid Mes's user avatar