What command can you use to quickly find which file on your home folder containing the umask command? [duplicate]

Clash Royale CLAN TAG#URR8PPP up vote
2
down vote
favorite
This question already has an answer here:
How to use âgrepâ command to find text including subdirectories
11 answers
What command can you use to quickly find which file on your home folder containing the umask command?
$ grep -rnw "umask" ~
command-line text-processing umask
marked as duplicate by muru, karel, WinEunuuchs2Unix, heemayl
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
May 24 at 12:03
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
2
down vote
favorite
This question already has an answer here:
How to use âgrepâ command to find text including subdirectories
11 answers
What command can you use to quickly find which file on your home folder containing the umask command?
$ grep -rnw "umask" ~
command-line text-processing umask
marked as duplicate by muru, karel, WinEunuuchs2Unix, heemayl
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
May 24 at 12:03
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
What do you mean exactly by "containing umask command"? You mean with the default permission set byumask? By default it'd beumask 022, resulting in file permissions 755.
â M. Becerra
May 24 at 9:05
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
This question already has an answer here:
How to use âgrepâ command to find text including subdirectories
11 answers
What command can you use to quickly find which file on your home folder containing the umask command?
$ grep -rnw "umask" ~
command-line text-processing umask
This question already has an answer here:
How to use âgrepâ command to find text including subdirectories
11 answers
What command can you use to quickly find which file on your home folder containing the umask command?
$ grep -rnw "umask" ~
This question already has an answer here:
How to use âgrepâ command to find text including subdirectories
11 answers
command-line text-processing umask
edited May 24 at 10:47
asked May 24 at 9:00
user831837
marked as duplicate by muru, karel, WinEunuuchs2Unix, heemayl
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
May 24 at 12:03
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by muru, karel, WinEunuuchs2Unix, heemayl
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
May 24 at 12:03
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
What do you mean exactly by "containing umask command"? You mean with the default permission set byumask? By default it'd beumask 022, resulting in file permissions 755.
â M. Becerra
May 24 at 9:05
add a comment |Â
What do you mean exactly by "containing umask command"? You mean with the default permission set byumask? By default it'd beumask 022, resulting in file permissions 755.
â M. Becerra
May 24 at 9:05
What do you mean exactly by "containing umask command"? You mean with the default permission set by
umask? By default it'd be umask 022, resulting in file permissions 755.â M. Becerra
May 24 at 9:05
What do you mean exactly by "containing umask command"? You mean with the default permission set by
umask? By default it'd be umask 022, resulting in file permissions 755.â M. Becerra
May 24 at 9:05
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
5
down vote
accepted
The pattern in grep is placed in front of the file/path:
grep [OPTIONS] PATTERN [FILE...]
To receive just the matching filenames instead of the matches, you should use -l option:
grep -rlw "umask" ~
If you want all matches of all files including their line number, you need to use -n instead of -l:
grep -rnw "umask" ~
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
The pattern in grep is placed in front of the file/path:
grep [OPTIONS] PATTERN [FILE...]
To receive just the matching filenames instead of the matches, you should use -l option:
grep -rlw "umask" ~
If you want all matches of all files including their line number, you need to use -n instead of -l:
grep -rnw "umask" ~
add a comment |Â
up vote
5
down vote
accepted
The pattern in grep is placed in front of the file/path:
grep [OPTIONS] PATTERN [FILE...]
To receive just the matching filenames instead of the matches, you should use -l option:
grep -rlw "umask" ~
If you want all matches of all files including their line number, you need to use -n instead of -l:
grep -rnw "umask" ~
add a comment |Â
up vote
5
down vote
accepted
up vote
5
down vote
accepted
The pattern in grep is placed in front of the file/path:
grep [OPTIONS] PATTERN [FILE...]
To receive just the matching filenames instead of the matches, you should use -l option:
grep -rlw "umask" ~
If you want all matches of all files including their line number, you need to use -n instead of -l:
grep -rnw "umask" ~
The pattern in grep is placed in front of the file/path:
grep [OPTIONS] PATTERN [FILE...]
To receive just the matching filenames instead of the matches, you should use -l option:
grep -rlw "umask" ~
If you want all matches of all files including their line number, you need to use -n instead of -l:
grep -rnw "umask" ~
edited May 24 at 9:15
answered May 24 at 9:08
RoVo
4,726932
4,726932
add a comment |Â
add a comment |Â
What do you mean exactly by "containing umask command"? You mean with the default permission set by
umask? By default it'd beumask 022, resulting in file permissions 755.â M. Becerra
May 24 at 9:05