Showing posts with label linux tutorial. Show all posts
Showing posts with label linux tutorial. Show all posts

Thursday, 3 September 2015

How to Empty a file

 Empty a file using command(terminal)

 Method 1.

$ > test.txt

  empty a file
 
for when you want to flush all content from a file without removing it.

Method 2.

 $  truncate -s0 1.txt





Related Posts :

Linux Tutorial for Beginners

Importance command for Java developer


Tuesday, 7 April 2015

Linux Tutorial for Beginners



Importance command for Java developer

Basic commands
How to create file.
How to create folder.
how to change permissions.
how to use vi editor.
grep commands.
how to install java on ubuntu using command
command for tomcat
sudo command
pipelines
filter
wildcards.

 Software Instalation

Adobe reader
Mysql
ellipse