Difference between revisions of "Viewing and editing configuration files"

m
Template inserted
(Marked this version for translation)
m (Template inserted)
Line 15: Line 15:
<!--T:5-->
<!--T:5-->
You can use the command cat to dump the contents of a file to the screen by typing cat <filename>.  For example to view the contents of your fstab you could use:
You can use the command cat to dump the contents of a file to the screen by typing cat <filename>.  For example to view the contents of your fstab you could use:
   cat /etc/fstab
   {{UserCmd|command=cat /etc/fstab}}


<!--T:6-->
<!--T:6-->
For larger files where it would be better to navigate around you can use less.  For example, to view the contents of your pacman.conf you could type:
For larger files where it would be better to navigate around you can use less.  For example, to view the contents of your pacman.conf you could type:
   less /etc/pacman.conf
   {{UserCmd|command=less /etc/pacman.conf}}


== Editing files from the terminal == <!--T:7-->
== Editing files from the terminal == <!--T:7-->
translator
1,001

edits