how too read a txt file in ubuntu SERVER

Soldato
Joined
31 May 2006
Posts
7,564
Location
West London
some one deleated the last time I asked - and I still cant find a simple how too on the web.

Open a txt file in the ubuntu server.

I can navigate to it via the cd ~/foldingathome/CPU1 command
but don't know how to open/read unitinfo.txt or FAHlog.txt

I remenber some one having a clever command that didn't get me stuck within the txt file with no 'know' way out other than power off.
might have involved cat but I'm not sure

Ok I know I should stick with the desktop version as GUI are soooo much easier but I want more ppd :D and I want to see my progress
 
Can you not just use vi?

Code:
vi FAHlog.txt

To quit is
Code:
:q

Its been a long time since I used linux so it might not work! :p
 
nano - that the one, and never managed to get Fahmon to read a ubuntu install

will try vi too.

thanks guys

Edit vi and q both worked (q only works at end of document)

Edit2: nano works must remember ^means Ctrl+

Edit3: I do love the use of the arrow keys - scrolling the history of typed entries is sooo usefull
 
Last edited:
Yeah vi is a pain without documentation, its not intuitive at all. ":q!" is to save without changes if I recall correctly. :)
 
Back
Top Bottom