How do I change a file type in Linux?

How do I change a file type in Linux?
Answer
Resolution
  1. Command line: Open terminal and type following command “#mv filename.oldextension filename.newextension” For example if you want to change “index. …
  2. Graphical Mode: Same as Microsoft Windows right click and rename its extension.
  3. Multiple file extension change. for x in *.html; do mv “$x” “${x%.html}.php”; done.
 

Tìm kiếm

Back
Top