truncate table via command line in Linux
You can use mysql command line client to do it
mysql -h dbserver_hostname -e "truncate table schema_name.table_name"
localhost=hostname
root=username
''=password
demo=db name
language=table name
#to truncate a table from database
mysql -h localhost -u root -p'' demo -e "truncate table demo.language"