Difference between revisions of "Viewing and editing configuration files/tr"

Created page with "Birincisi, metin düzenleyiciyi çalıştırmak için sudo kullanmaktır. Örneğin, fstab dosyanızı düzenlemek için şunu yazabilirsiniz: {{UserCmd|command=sudo nano /..."
(Created page with "Nano ile bir yapılandırma dosyasını açmak için nano <dosya adı> yazmanız yeterlidir. Örneğin, .profile dosyanızı düzenlemek için şunu yazabilirsiniz: {{UserC...")
(Created page with "Birincisi, metin düzenleyiciyi çalıştırmak için sudo kullanmaktır. Örneğin, fstab dosyanızı düzenlemek için şunu yazabilirsiniz: {{UserCmd|command=sudo nano /...")
Line 23: Line 23:
   {{UserCmd|command=nano ~/.profile}}
   {{UserCmd|command=nano ~/.profile}}


The keybindings for nano can be seen at the bottom of the screen. The ^ indicates the ctrl key. For example to exit nano you could hold ctrl and press 'x'.
Nano için tuş bağlantıları ekranın alt kısmında görülebilir. ^ ctrl tuşunu belirtir. Örneğin nano'dan çıkmak için ctrl tuşunu basılı tutup 'x' tuşuna basabilirsiniz.


Sometimes, escalated privileges are required to edit a file such as most of the files in the /etc directory. In these cases there are two ways to acquire rights to edit these files.
Bazen /etc dizinindeki çoğu dosya gibi bir dosyayı düzenlemek için yükseltilmiş ayrıcalıklar gerekebilir. Bu durumlarda, bu dosyaları düzenleme haklarını edinmenin iki yolu vardır.


The first is to use sudo to run the text editor. For example, to edit your fstab file you could type:
Birincisi, metin düzenleyiciyi çalıştırmak için sudo kullanmaktır. Örneğin, fstab dosyanızı düzenlemek için şunu yazabilirsiniz:
  {{UserCmd|command=sudo nano /etc/fstab}}
  {{UserCmd|command=sudo nano /etc/fstab}}


An alternative, and arguably safer method, would be to save a copy of the file somewhere you can write and then use sudo to move it.  For example, if you used nano to edit your fstab and then saved a copy to your home folder, you could then move it to the proper location with sudo:
An alternative, and arguably safer method, would be to save a copy of the file somewhere you can write and then use sudo to move it.  For example, if you used nano to edit your fstab and then saved a copy to your home folder, you could then move it to the proper location with sudo:
1,271

edits