using sed command to get after a /

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Can someone please help me on using sed to extract the file name after the last occurrence of /?
For example 
 /usr/bin/file.txt
and the output should be 
 file.txt
sed filenames
add a comment |Â
up vote
0
down vote
favorite
Can someone please help me on using sed to extract the file name after the last occurrence of /?
For example 
 /usr/bin/file.txt
and the output should be 
 file.txt
sed filenames
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Can someone please help me on using sed to extract the file name after the last occurrence of /?
For example 
 /usr/bin/file.txt
and the output should be 
 file.txt
sed filenames
Can someone please help me on using sed to extract the file name after the last occurrence of /?
For example 
 /usr/bin/file.txt
and the output should be 
 file.txt
sed filenames
sed filenames
edited 4 secs ago
Jeff Schaller
35.2k952115
35.2k952115
asked 1 min ago
Vas
144
144
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
 
draft saved
draft discarded
 
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480257%2fusing-sed-command-to-get-after-a%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password