In linux, the null device (/dev/null) can be used to suppress the output of a command, to feed a command empty input, or similarly used when [...] .
Answer
a file is required for some feature in a configuration script (e.g. to specifying the user's shell to /dev/null, to disable shell access, in /etc/passwd)
Question
In linux, the null device (/dev/null) can be used to suppress the output of a command, to feed a command empty input, or similarly used when [...] .
Answer
?
Question
In linux, the null device (/dev/null) can be used to suppress the output of a command, to feed a command empty input, or similarly used when [...] .
Answer
a file is required for some feature in a configuration script (e.g. to specifying the user's shell to /dev/null, to disable shell access, in /etc/passwd)
If you want to change selection, open document below and click on "Move attachment"
18. UNIX Devices verything save for error messages. make > /dev/null Then, of course, we can absorb all output including error messages with either make >& /dev/null or make > /dev/null 2>&1 <span>The device /dev/null finds innumerable uses in shell scripting to suppress the output of a command or to feed a command dummy (empty) input. /dev/null is a safe file from a security point of view. It is often used when a file is required for some feature in a configuration script, and you would like the particular feature disabled. For instance, specifying the users shell to /dev/null inside the password file will certainly prevent insecure use of a shell, and is an explicit way of saying that that account does not allow shell logins. You can also use /dev/null to create a file containing nothing: cat /dev/null > myfile or alternatively, to create a file containing only zeros. Try dd if=/dev/zero bs=1024 count=<
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.