Pular para o conteúdo principal

Postagens

Mostrando postagens de novembro, 2015

Comando Básico Linux

  mkdir – make directories Usage: mkdir [OPTION] DIRECTORY… :~# mkdir lhn ls – list directory contents Usage: ls [OPTION]… [FILE]… :~# ls, ls ­l, ls lhn cd – changes directories Usage: cd [DIRECTORY] :~# cd lhn pwd ­-  print name of current working directory Usage: pwd vim – Vi Improved, a programmers text editor Usage: vim [OPTION] [file]… :~# vim lhn.txt cp – copy files and directories Usage: cp [OPTION]… SOURCE DEST :~# cp sample.txt sample_copy.txt cp sample_copy.txt target_dir mv – move (rename) files Usage: mv [OPTION]… SOURCE DEST :~# mv source.txt target_dir mv old.txt new.txt rm ­ remove files or directories Usage: rm [OPTION]… FILE… :~# rm file1.txt , rm ­rf some_dir find – search for files in a directory hierarchy Usage: find [OPTION] [path] [pattern] :~# find file1.txt, find ­name file1.txt history – prints recently used commands Usage: history cat – concatenate files and print on the standard output Usage: cat [OPTION] [FILE]… :~# cat file1.txt file2.txt c...