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 151104

grep is a command-line tool for searching text patterns in files

0
votes
3answers
grep to find a specific line within the file, then I use sed to get all the text after a specific character. The remaining text is simply a file path that includes an environment variable. The output … mp3info $LIGHTS_HOME doesn't expand to the actual file path it is correlated to. How can I expand it within one line? Is this even possible? Here is my current command: $ sudo grep -w "file_path =" /home …
asked Dec 5 '16 by Brett Reinhard
1
vote
Essentially, this line of code searches a configuration file /home/pi/lightshowpi/config/state.cfg for the line "file_path =" then expands the environment variable $SYNCHRONIZED_LIGHTS_HOME to its val …
answered Dec 6 '16 by Brett Reinhard