SORU
21 ŞUBAT 2012, Salı


Terminal penceresinde Linux bir dosya oluşturmak için?

Linux bir dosya oluşturmak için en kolay yolu nedir?

CEVAP
21 ŞUBAT 2012, Salı


Dosyayı içeren istediğinize bağlı olarak:

  • Boş bir dosya için touch /path/to/file
  • Bir dosya bazı komut çıktısını içeren somecommand > /path/to/file.

      eg: grep --help > randomtext.txt
          echo "This is some text" > randomtext.txt
    
  • nano /path/to/file vi /path/to/file (any other editor emacs,gedit etc)
    Eğer var değil mi, ya da düzenleme için mevcut bir açılır veya & girmek için boş bir dosya oluşturup açar

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Caina Mondo Zine

    Caina Mondo

    13 EKİM 2007
  • paikimchung

    paikimchung

    12 Mayıs 2006
  • TecnoTutosPC

    TecnoTutosPC

    19 Kasım 2012