
- HOW TO TYPE EN DASH IN UNIX ON MAC HOW TO
- HOW TO TYPE EN DASH IN UNIX ON MAC SOFTWARE
- HOW TO TYPE EN DASH IN UNIX ON MAC CODE
- HOW TO TYPE EN DASH IN UNIX ON MAC WINDOWS
If that's a possibility, use the ps or $0 approach. The caveat for this one is that if you launch a shell explicitly as a subprocess (for example, it's not your login shell), you will get your login shell's value instead. This is the second problem with the "ps" approach, on top of not being able to rely on the shell name.Įcho $SHELL - The path to the current shell is stored as the SHELL variable for any shell.

This is not 100% reliable, as you might have other processes whose ps listing includes the same number as shell's process ID, especially if that ID is a small number (for example, if the shell's PID is "5", you may find processes called "java5" or "perl5" in the same grep output!). Since the current process is the shell, it will be included. Ps -ef | grep $$ | grep -v grep - this will look for the current process ID in the list of running processes. which in the case of the shell is the actual shell. Thus your second question of whether ps output will do is answered with " not always".Įcho $0 - will print the program name. Please note that all three approaches can be fooled if the executable of the shell is /bin/sh, but it's really a renamed bash, for example (which frequently happens). Select General Punctuation from the Subset: drop-down.There are three approaches to finding the name of the current shell's executable: To easily locate this symbol, at the top right area of the window,

HOW TO TYPE EN DASH IN UNIX ON MAC CODE
This will convert the code (2014) into an em dash. With that being said, obey the following steps to type the em dash in Word using its Character Code:
HOW TO TYPE EN DASH IN UNIX ON MAC SOFTWARE
However, these codes don’t work in any software except This option is very similar to using the Alt Code The em dash sign into your Word document. This is how you may use the insert symbol dialog to insert You can also double click on the symbol to insert it into your Word

NOTE: This will not work if you use the minus key just before the equal sign key. Key to type the em dash into your Word document.
HOW TO TYPE EN DASH IN UNIX ON MAC HOW TO
So, my first option will show you how to insert this sign in Word using a keyboard shortcut.īelow are two easy ways you can type the em dash in word However, below are the step by step break down on how to type it. Type the em dash sign into your Word document. The table above contains all the information you need to
HOW TO TYPE EN DASH IN UNIX ON MAC WINDOWS
The table below also gives you the em dash shortcuts and alt code for Windows and Mac.
