Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to open files using terminal in ubuntu

#for short files 
cat filename.txt

#for longer files
less filename.txt

#to edit files inside terminal open using vim or nano

#using vim
vim filename.txt

#using nano
nano filename.txt
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #open #files #terminal #ubuntu
ADD COMMENT
Topic
Name
7+9 =