Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails
1. a. Use grep to find information about the HTTP protocol in the file /etc/services. b. Usually this file contains some comments, starting with the ‘#’ symbol. Use grep with the -v option to ignore lines starting with ‘#’ and look at the rest of the file in less. c. Add another use of grep -v to your pipeline to remove blank lines (which match the pattern ˆ$). d. Use sed (also in the same pipeline) to remove the information after the ‘/’ symbol on each line, leaving just the names of the protocols and their port numbers.
grep http /etc/services
c and d. No idea so far.
grep -v '#' | less
|du usage to get proper byte count||7||31|
|Using Grep to Find a file||8||72|
|Exchange PowerShell Do While not working as expected||1||47|
|Linux Script to remove files on specific directories with exclusions||31||71|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
21 Experts available now in Live!