694 reputation
1330
bio website
location
age
visits member for 3 years, 1 month
seen Mar 28 at 11:35

Jan
22
revised Can't type anymore on Git bash after returning from ssh -tt
added 216 characters in body; edited title
Jan
22
asked Can't type anymore on Git bash after returning from ssh -tt
Jan
22
comment With ssh, how can you run a command on the remote machine without exiting?
echo "command" | ssh user@remote_host
Jan
22
comment With ssh, how can you run a command on the remote machine without exiting?
This is at least good for simulating an interactve for the command to execute in, without using -t or your own bash file. +1
Jan
16
accepted Reverse output of a command
Jan
16
asked Reverse output of a command
Jan
15
asked Switch between having the cursor at the beginning or the end of a selection?
Jan
13
asked Make Firefox always cache all requests regardless of whether the server tells it not to?
Jan
13
comment Is there any 'sudo' command for Windows?
Doesn't work for me. It just asks for password (whether MyLoginName or the Administrator) and just runs the command normally. I've tested it by running taskmgr and even after entering password it says "740: The requested operation requires elevation.". Running calc works as it doesn't require elevation.
Jan
13
accepted Find out the depth of path in PowerShell
Jan
13
comment Find out the depth of path in PowerShell
In my case it'd be (Get-Location).Path.ToString().Split('\\').Count right? It gives 2 for both C:\ and C:\Top. For all deeper levels it works fine.
Jan
13
asked Find out the depth of path in PowerShell
Jan
8
awarded  Notable Question
Jan
7
comment Display only the current directory name (not the full path) in Windows Batch Prompt
I want the batch equivalent of this: superuser.com/questions/60555/…. Sorry for all the confusion with the "inner" stuff.
Jan
7
revised Display only the current directory name (not the full path) in Windows Batch Prompt
added 153 characters in body; edited title
Jan
7
revised Display only the current directory name (not the full path) in Windows Batch Prompt
added 74 characters in body
Jan
7
comment Display only the current directory name (not the full path) in Windows Batch Prompt
I want it to reflect the current directory automatically. I don't see much point of setting it manually.
Jan
7
comment Display only the current directory name (not the full path) in Windows Batch Prompt
edited the question, hope it's clearer now. "inner" is not some particular piece of text that I want to display, it's actually the name of the folder.
Jan
7
revised Display only the current directory name (not the full path) in Windows Batch Prompt
deleted 22 characters in body
Jan
7
asked Display only the current directory name (not the full path) in Windows Batch Prompt