How to list system installed locales
Answer:
You can list all system's currently installed locales via the command: locale -a
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to list system installed locales
Answer:
You can list all system's currently installed locales via the command: locale -a
How to change filename case of all files in a directory
Answer:
If you want to change the case of filename of all files in a directory, e.g. change to all UPPER case, you can use:
# rename 'y/a-z/A-Z/' *
How to get file name only with find command?
Answer:
To show only the filename of Linux command, you can use
# find /dir -type f -printf "%f\n"
file1
file2
file3
...
Replace newline by comma
Answer:
To replace all newline in a file by command, you can use the command
# tr '\n' ',' < input.txt > output.txt
Print sequences of numbers in Linux
Answer:
To generate a sequences of numbers from 1 to 99, you can try the `seq` command, e.g.
# seq 1 99
To reverse from 99 to 1, simply
# seq 99 1