How to display all .png files using * in terminal [duplicate]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
This question already has an answer here:
How to search for all the files starting with the name âABCâ in a directory?
10 answers
how to open multiple files with the default program from terminal?
7 answers
I am trying to figure out if there exists any command or combination of commands that can display all .png files with a given prefix.
For instance,
In one of my directories, there exist files
life_001.png
life_002.png
.
.
.
life_020.png
and
death_001.png
death_002.png
.
.
.
death_010.png
How can I display all life_***.png files simultaneously or consecutively using a command in linux terminal?
Thank you!
command-line
marked as duplicate by ñÃÂsýù÷, muru
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
May 13 at 16:06
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
1
down vote
favorite
This question already has an answer here:
How to search for all the files starting with the name âABCâ in a directory?
10 answers
how to open multiple files with the default program from terminal?
7 answers
I am trying to figure out if there exists any command or combination of commands that can display all .png files with a given prefix.
For instance,
In one of my directories, there exist files
life_001.png
life_002.png
.
.
.
life_020.png
and
death_001.png
death_002.png
.
.
.
death_010.png
How can I display all life_***.png files simultaneously or consecutively using a command in linux terminal?
Thank you!
command-line
marked as duplicate by ñÃÂsýù÷, muru
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
May 13 at 16:06
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
This question already has an answer here:
How to search for all the files starting with the name âABCâ in a directory?
10 answers
how to open multiple files with the default program from terminal?
7 answers
I am trying to figure out if there exists any command or combination of commands that can display all .png files with a given prefix.
For instance,
In one of my directories, there exist files
life_001.png
life_002.png
.
.
.
life_020.png
and
death_001.png
death_002.png
.
.
.
death_010.png
How can I display all life_***.png files simultaneously or consecutively using a command in linux terminal?
Thank you!
command-line
This question already has an answer here:
How to search for all the files starting with the name âABCâ in a directory?
10 answers
how to open multiple files with the default program from terminal?
7 answers
I am trying to figure out if there exists any command or combination of commands that can display all .png files with a given prefix.
For instance,
In one of my directories, there exist files
life_001.png
life_002.png
.
.
.
life_020.png
and
death_001.png
death_002.png
.
.
.
death_010.png
How can I display all life_***.png files simultaneously or consecutively using a command in linux terminal?
Thank you!
This question already has an answer here:
How to search for all the files starting with the name âABCâ in a directory?
10 answers
how to open multiple files with the default program from terminal?
7 answers
command-line
edited May 13 at 16:06
muru
1
1
asked May 13 at 15:45
trenta coollime
174
174
marked as duplicate by ñÃÂsýù÷, muru
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
May 13 at 16:06
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by ñÃÂsýù÷, muru
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
May 13 at 16:06
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
To open all matching files at the same time, in the default application for their respective file type, you can use xdg-open
in a for
-loop:
for f in life_*.png ; do xdg-open "$f" ; done
Note that because xdg-open
opens the file in a separate process and returns immediately, this might open as many instances of your viewer application as there are files matching the pattern in rapid succession, which could strain your system resources.
To open them sequentially, you'd have to call your viewer application directly and in the foreground, so that the next picture only opens as soon as you close the previous instance. In case of the "Eye Of Gnome" viewer eog
, you should do:
for f in life_*.png ; do eog "$f" ; done
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
To open all matching files at the same time, in the default application for their respective file type, you can use xdg-open
in a for
-loop:
for f in life_*.png ; do xdg-open "$f" ; done
Note that because xdg-open
opens the file in a separate process and returns immediately, this might open as many instances of your viewer application as there are files matching the pattern in rapid succession, which could strain your system resources.
To open them sequentially, you'd have to call your viewer application directly and in the foreground, so that the next picture only opens as soon as you close the previous instance. In case of the "Eye Of Gnome" viewer eog
, you should do:
for f in life_*.png ; do eog "$f" ; done
add a comment |Â
up vote
3
down vote
accepted
To open all matching files at the same time, in the default application for their respective file type, you can use xdg-open
in a for
-loop:
for f in life_*.png ; do xdg-open "$f" ; done
Note that because xdg-open
opens the file in a separate process and returns immediately, this might open as many instances of your viewer application as there are files matching the pattern in rapid succession, which could strain your system resources.
To open them sequentially, you'd have to call your viewer application directly and in the foreground, so that the next picture only opens as soon as you close the previous instance. In case of the "Eye Of Gnome" viewer eog
, you should do:
for f in life_*.png ; do eog "$f" ; done
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
To open all matching files at the same time, in the default application for their respective file type, you can use xdg-open
in a for
-loop:
for f in life_*.png ; do xdg-open "$f" ; done
Note that because xdg-open
opens the file in a separate process and returns immediately, this might open as many instances of your viewer application as there are files matching the pattern in rapid succession, which could strain your system resources.
To open them sequentially, you'd have to call your viewer application directly and in the foreground, so that the next picture only opens as soon as you close the previous instance. In case of the "Eye Of Gnome" viewer eog
, you should do:
for f in life_*.png ; do eog "$f" ; done
To open all matching files at the same time, in the default application for their respective file type, you can use xdg-open
in a for
-loop:
for f in life_*.png ; do xdg-open "$f" ; done
Note that because xdg-open
opens the file in a separate process and returns immediately, this might open as many instances of your viewer application as there are files matching the pattern in rapid succession, which could strain your system resources.
To open them sequentially, you'd have to call your viewer application directly and in the foreground, so that the next picture only opens as soon as you close the previous instance. In case of the "Eye Of Gnome" viewer eog
, you should do:
for f in life_*.png ; do eog "$f" ; done
edited May 20 at 8:29
![](https://i.stack.imgur.com/Qwl2d.jpg?s=32&g=1)
![](https://i.stack.imgur.com/Qwl2d.jpg?s=32&g=1)
Fabby
24k1351149
24k1351149
answered May 13 at 16:04
![](https://i.stack.imgur.com/m8DYH.jpg?s=32&g=1)
![](https://i.stack.imgur.com/m8DYH.jpg?s=32&g=1)
Byte Commander
58.6k26158265
58.6k26158265
add a comment |Â
add a comment |Â