Difference between pages "Commands" and "Freeciv"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
 
imported>ThorstenStaerk
(New page: Freeciv is one of the best Linux games, but hard and complicated to install. With it, you can be the leader of a civilization and conquer the world. Decide if you want to go to war, de...)
 
Line 1: Line 1:
Here are important commands that you should be aware of:
+
Freeciv is one of the [[best Linux games]], but hard and complicated to install. With it, you can be the leader of a civilization and conquer the world. Decide if you want to go to war, develop your science or build world wonders and so on.
  
* [[cat]] : input from stdin or a file and output to stdout or a file
+
= Install it =
* [[cd]] : change directory
+
This is an example that works with freeciv 2.1.8 on SUSE Linux 11.1, but it should work with every distribution.
* [[date]] : show and set the system date and time
+
* Install SDL mixer devel
* [[df]] : find out how much space is free on your disks
+
yast -i sdl-mixer-devel
** df -h : find out how much space is free on your disks in a sensible format
+
* Download the source from http://freeciv.wikia.com/wiki/Main_Page
* [[disown]] - removes a process from its parent process, allowing it to continue after the parent exits
+
* compile the code
* [[dig]] - query a name server for a server's IP address
+
bunzip2 freeciv-2.1.8.tar.bz2
* [[du]] -sch * : find out how much space is used on your disks
+
tar xvf freeciv-2.1.8.tar
* [[echo]] : output a string to [http://simple.wikipedia.org/wiki/Command_Line_Interface console] (rather, to [[stdout]])
+
cd freeciv-2.1.8
** echo mem > /sys/power/state : put the computer into standby-mode
+
./configure && make -j4 && make install
* [[ethtool]] : is a network cable connected and which link does it have?
 
* [https://www.howtogeek.com/106873/how-to-use-fdisk-to-manage-partitions-on-linux/ fdisk] : partition a [[hard disk]]
 
* [[file]] : find out the type of a file
 
* [[hwinfo]] : find out what harddisk, processor, graphics card and so on you have
 
** hwinfo --block --short : find out what disks and partitions you have
 
** hwinfo --cpu --short: find out what processors you have
 
* [[ldd]] : list dependencies of an executable file
 
* [[ls]] : list files
 
** ls -ltr : list files, latest last
 
* [[lsof]] : list open files in the system
 
* mkdir : makes a directory
 
* [[netstat]] : show network connections
 
** netstat -putan : show network connections in a sensible way
 
* [[ps]] : show running processes
 
** ps -A : show all running processes
 
** ps -ef : show all processes and their uptime
 
* [[route]] : manage the network routing table
 
* [[scp]] : copy over the network
 
* [[shred]] : wipe data off your computer
 
* [[sleep]] : waits for a given time
 
* [[ssh]] : call a program over the network on another computer
 
* [[strace]] : list all syscalls performed by a program
 
** strace -e open : list all files that a program reads/writes to/from
 
* [[tar]] : pack and unpack file archives
 
** tar -xvzf : unpack .tar.gz files
 
** tar -xvjf : unpack .tar.bz2 files
 
** tar -cvzf : pack to .tar.gz files
 
* [[top]] : show the top CPU/RAM consuming processes
 
* [[vmstat]] - how much I/O is your computer doing?
 
* [[which]] - where does a program lodge?
 
* [[xosview]] - gives you a nice overview about system load: CPU, disks, swap etc.
 
* [[zip]] - pack files so WinZip can extract them
 
 
 
= See also =
 
* [[Special:WhatLinksHere/Commands|pages that link to here]]
 
* [[software]]
 

Revision as of 08:03, 29 March 2009

Freeciv is one of the best Linux games, but hard and complicated to install. With it, you can be the leader of a civilization and conquer the world. Decide if you want to go to war, develop your science or build world wonders and so on.

Install it

This is an example that works with freeciv 2.1.8 on SUSE Linux 11.1, but it should work with every distribution.

  • Install SDL mixer devel
yast -i sdl-mixer-devel
bunzip2 freeciv-2.1.8.tar.bz2
tar xvf freeciv-2.1.8.tar
cd freeciv-2.1.8
./configure && make -j4 && make install