Search results

  1. E

    What is the difference between the option -w and \b with egrep?

    Is there difference between: egrep -w "word" filename egrep "\bword\b" filename or both are equal?
  2. E

    How to print /etc/passwd in different output?

    i would like to write a script that prints /etc/passwd as this output: root daemon bin sys … x x x x 0 1 1 2 root daemon bin sys first line has all user accounts in same row second line has all encrypted passwords (x) in same row third line has all user ids in same row and etc…
  3. E

    How to list all files and directories that have the maximum number of the same inode number?

    how to list all files and directories that have the maximum number of the same inode number in the home directory? for example: inode file/directory name 112233 file1 112233 myfile 112233 myDocs 345566 Docs 345566 Downloads then it should print /home/sysadmin/file1 /home/sysadmin/myfile...
Top