https://www.softwaretestinghelp.com/grep-command-in-unix/
tar -xvzf geckodriver-v[0-9].[0-9][0-9].[0-9]-linux[0-9][0-9].tar.gz
geckodriver-v0.24.0-linux64.tar.gz
24를 표현 할때
[0-9][0-9] 두개를 써야함 노가다임 ㅎㅎ;;
테스트 해보자
echo 1 > 1.txt
cat [0-9].txt
1
#변경해본다
mv 1.txt 22.txt
cat [0-99].txt
에러남 -_-;;
cat [0-9][0-9].txt
해야함
추가 내용
cat {0..99}
# 0~99 까지 모두 대입 하시오
영어의 경우
[s-S]
[a-z]
# a.txt
cat [a-z].txt
# a~z 까지 검색 하시오
# a.txt 또는 1.txt 랜덤한 경우
cat [a-z-0-9].txt
#만약 숫자거나 문자일 경우. http://egloos.zum.com/ranivris/v/4307238
# 1.txt or a.txt or A.txt B.txt
cat [a-z-A-Z-0-9].txt
#대문자일 경우.
# 만약 두자리의 경우. 즉 99 같이
# 99.txt
# aA.txt
cat [a-z-A-Z-0-9][a-z-A-Z-0-9].txt
#특수 문자인 경우 *.txt 또는 #.txt or $.txt # https://breathair.tistory.com/48
cat [^-].txt
# 특수 문자 이름 바꾸기 mv '#.txt' '@.txt'
#중간에 공백이 있는 경우 1 a.txt http://blog.naver.com/eleexpert/140123888282
# * 별표시로 표현
cat [a-z-A-Z-0-9]*[a-z-A-Z-0-9].txt
#모든 알파벳과 숫자의 경우
cat [A-Za-z0-9].txt
첫댓글 https://askubuntu.com/questions/870530/how-to-install-geckodriver-in-ubuntu