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

The name of the pictureThe name of the pictureThe name of the pictureClash 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" ~






share|improve this question














marked as duplicate by muru, karel, WinEunuuchs2Unix, heemayl command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

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 by umask? By default it'd be umask 022, resulting in file permissions 755.
    – M. Becerra
    May 24 at 9:05















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" ~






share|improve this question














marked as duplicate by muru, karel, WinEunuuchs2Unix, heemayl command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

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 by umask? By default it'd be umask 022, resulting in file permissions 755.
    – M. Becerra
    May 24 at 9:05













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" ~






share|improve this question















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









share|improve this question













share|improve this question




share|improve this question








edited May 24 at 10:47

























asked May 24 at 9:00







user831837











marked as duplicate by muru, karel, WinEunuuchs2Unix, heemayl command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

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 command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

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 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
















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











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" ~





share|improve this answer




























    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" ~





    share|improve this answer


























      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" ~





      share|improve this answer
























        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" ~





        share|improve this answer














        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" ~






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 24 at 9:15

























        answered May 24 at 9:08









        RoVo

        4,726932




        4,726932












            Popular posts from this blog

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Unable to upgrade pip

            Trouble downloading packages list due to a “Hash sum mismatch” error