Lập Trình Linux

how to rename a file in the linux terminal




the command is “mv” and is a command that is also used for moving files as well. go figure. but of course has slightly different syntax depending on the command u would like to perform

Nguồn:https://ftlinuxcourse.com/

Lập Trình Linux
Hướng dẫn Cài đặt Ubuntu 14.04 song với windows xp/ 7/ 8 mà Windows không bị mất boot win
Lập Trình Linux
Hướng dẫn cài đặt bộ gõ tiếng Việt ibus-unikey trên Ubuntu 18.04 LTS
Máy Tính
Cách tạo ghi chú trên desktop Win 10 – Tạo note trên Win 10
  • your poor keyboard lol


  • THX!!!


  • Great thanks


  • or, if you want to copy and paste something with the terminal then do this

    Terminal: cp <insert directory of item you want to copy and paste> <insert directory of coped and to paste item>

    example:

    Terminal: mkdir example
    Terminal: ls

    Desktop
    Downloads
    Config
    example

    Terminal: mkdir example place
    Terminal: ls

    Desktop
    Downloads
    Config
    example
    example place
    Terminal: cp /home/user/example /home/user/example place
    Terminal: cd /home/user/example place
    Terminal example place: ls

    example
    –end–
    and there you go I had to wright this whole thing down so yea comment if this worked and you don't need to like but if you want you can 😀


  • ZapyZapy

    Author Reply

    The rename command !


  • What version of Linux are you using???