Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 114844

The command-line is the interactive interface to your shell.

5
votes
grep can't do this for file in one certain directory if you have more files with the same name in different directories, use find instead: find . -type f \! -path './test/main.cpp' -exec grep pattern …
answered May 20 '15 by MichalH
4
votes
1answer
Is there a command-line way to turn off the backlight of an external monitor connected to laptop through HDMI? This works on laptop's monitor: echo 10 | sudo tee '/sys/devices/pci0000:00/0000:00:01. …
asked Jul 29 '15 by MichalH
1
vote
Ok I found a solution, not exactly what I was hoping for, but it works. Install unclutter and use unclutter -idle 0 -root -jitter 9999 This hides your mouse. So the final approach is: xrandr --o …
answered Aug 24 '15 by MichalH
4
votes
While chaos's answer is good to be used in interactive shells, this one can be used as a POSIX script, for example if you need to do this periodically and/or do it on another computers. #!/bin/sh i=0 …
answered Jul 29 '15 by MichalH
1
vote
1answer
When I run my favorite app, why the arguments look different when viewed by ps? $ redshift -l 12.94:43.75 2>/dev/null 1>&2 & [1] 8637 $ ps -o cmd= -C redshift redshift -l 12.94 43.75 Notice the mis …
asked Aug 13 '15 by MichalH
2
votes
In shell, user's home directory is located in /home/username, ~ is shortcut for home directory of the current user using the shell, ~usr is shortcut for home directory of user with username usr, so …
answered May 22 '15 by MichalH