diff two files and output lines not seen in file 2
Problem You need two diff two files and only output what is unique to file one. text file 1 contains: 1 2 3 4 5 text file 2 contains: 6 7 1 2 3 4 Solution $ awk ‘FNR==NR{a[$0]++;next}!a[$0]’ file1…
Problem You need two diff two files and only output what is unique to file one. text file 1 contains: 1 2 3 4 5 text file 2 contains: 6 7 1 2 3 4 Solution $ awk ‘FNR==NR{a[$0]++;next}!a[$0]’ file1…
Scripts to manage Active Directory Users Appending a Multi-Valued Attribute Appending a Phone Number Adding a Route to the Dial-In Properties of a User Account Adding a User to Two Security Groups Appending Address Page Information for a User Account…
Useful Linux Commands (Red Hat) () Revised 3/1/2000 Getting information man commandname display the manual page for a particular command named commandname man -S sectionnumber commandname display the manual page under a specific section numbered sectionnumber for the command named…
How do you find large files or directories on your disk in freebsd, unix, linux ? Linux find large files examples; find large files on your disk in *nix. All *nix systems List total size of each directory/file at current…