with sed
sed -r 's_([^/]+/)__'
similarly with awk
awk '{sub(/[^/]+\//,"")}1'
however, cut is the most proper tool for this task
cut -d/ -f2-
More Related Contents:
- How do you delete all lines that contain no letters from the alphabet using either grep, sed, or awk? [closed]
- Printing with sed or awk a line following a matching pattern
- Escaping separator within double quotes, in awk
- How to show only next line after the matched one?
- How can I manipulate text in bash? [closed]
- Using different delimiters in sed commands and range addresses
- How to select lines between two marker patterns which may occur multiple times with awk/sed
- How to merge every two lines into one from the command line?
- How to delete duplicate lines in a file without sorting it in Unix
- What are NR and FNR and what does “NR==FNR” imply?
- Why doesn’t `\d` work in regular expressions in sed? [duplicate]
- Extraction of data from a simple XML file
- Using different delimiters in sed commands and range addresses
- Summing values of a column using awk command
- Print all but the first three columns
- Remove all text before colon
- Using AWK to Process Input from Multiple Files
- Remove multi-line comments
- How to split a delimited string into an array in awk?
- Do a tail -F until matching a pattern
- What are the differences between Perl, Python, AWK and sed? [closed]
- Print second-to-last column/field in `awk`
- delete a column with awk or sed
- How to use awk to print lines where a field matches a specific string?
- ignorecase in AWK
- Using awk to pull specific lines from a file
- Extract lines between two patterns from a file [duplicate]
- Grep output with multiple Colors?
- using bash (sed/awk) to extract rows AND columns in CSV files?
- How to grep for case insensitive string in a file?