What is -n command in linux?

In: Linux
There is no "-n" command by default in linux, though it can be an option to other commands. For example, in the make(1) command, it can be used to suppress the make program from actually doing the actions specified - it just prints out what it would have done.

Answer

[-n] may be what is called a "switch" typically passed to a Unix or Linux command. As mentioned above, it modifies the actions of another command. For example, in the sort(1) command, it instructs sort to sort numerically instead of alphabetically. The meaning of any given switch will typically vary from command to command so read each man page carefully before using a switch. [JMH]

 

Improve Answer Discuss the question "What is -n command in linux?" Watch Question

First answer by Avir. Last edit by John.m.horn. Contributor trust: 12 [recommend contributor]. Question popularity: 18 [recommend question]


Research your answer:

Can you answer other questions about linux?

Answers.com > Wiki Answers > Categories > Technology > Computers > Linux > What is -n command in linux?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
What is command in linux?  How does command etc host in linux?  How do you play linux in command throw?