Linux bs command

Updated: 04/26/2017 by Computer Hope

About bs

bs is a "battleship" game for Linux.

bs syntax

bs [ -b | -s ] [ -c ]



selects a 'blitz' variant: allows a side to shoot for as long as it continues to score hits.


selects a 'salvo' variant: allows a player one shot per turn for each of his/her ships still afloat. This puts a premium scoring hits early and knocking out some ships and also makes much harder the situation where you face a superior force with only your PT-boat.


permits ships to be placed adjacently: Normally, ships must be separated by at least one square of open water. The -c option disables this check and allows them to close-pack.

bs examples


Begins a game of battleship.