How To Use Dashes In Linux
As we are using nodejs for the basis of linux dash we ll need to use it to install the software.
How to use dashes in linux. The em dash which is used to break up sentences in a similar way to parentheses can be made by holding down the control and alt keys and pressing the dash key. When the dash is used in this way it creates a compound adjective. The en dash may also be used to indicate a connection between two words. Use an en dash when you need to connect terms that are already hyphenated or when you are using a two word phrase as a modifier. There is special argument double dash which is used with file name starts with dash.
Specifying a dash turns the option on while using a plus disables the option. Because locate works on all of the linux distributions that were tested we ll use locate in our explanations below. When you use the find command it dashes off and performs a. Linux commands generally need explicit operations to cope with file names those starts with dash. The biggest advantage that locate has is speed.
Use whoami to find out who you are logged in as or who is logged into an unmanned linux terminal. We can use different commands like touch cat etc. Create file name starts with dash. And it s one less letter to type. If you re using a mac hold down the option key and press dash to make an en dash.
Npm is the nodejs packaging tool. We will provide double dash parameter before the file name. See the following examples. Sudo npm install production. Sometimes you maybe have to handle files with a dash as first character from linux command line.
For tips on how to create en dashes and em dashes on linux read on. The set o name is provided next to the single letter option in the description below. Using the en dash to denote a connection. Let it install the software. We will start by creating a file which name starts with a dash.