Basic Command Linux


 
 Show Direktori Files - ls
Command ls (LiSt) To Show files or directory in some directory
Create Directory: $ mkdir (name directory)
Command mkdir (MaKeDIRectory) for create directory
Change location : $ cd (location)
Command cd (ChangeDirectory) will be change location where you are now, to destination you set
Copy File / Folder : $ cp (Name File / Directory) (Destination File / Directory)
Command cp (CoPy) will be copy file to destination you set. command cp -r will be copy directory to destination you set.
Delete / Remove: $ rm (Name File / directory)
Command rm (ReMove) will remove / delete file you set. Command rm -rf will delete / remove directory you set.
Move File / Directory: $ mv (Name File / directory)
Command mv (MoVe) Will be change name of file or move file to destination you set .
Search File / Directory: $ locate (Name File / directory)
Command locate using methode indexing from files in your system, It will be work fastest. To Most up to date, do this command updatedb. It will by automaticly running if you computer is always on, and this command can run under root privileges.
You can use wildcard for matching file or more files, like "*" (for all) or "?" (for matching some character).
See Also Ubuntu command basic .[Source]

No comments: