How to create text file on Linux Fedora system???... There is lot of text editor in Linux that you can use to create text files, but the easers one to create text file is with the cat command. The cat command or concatenate can be use to create text file or displaying them on Linux system. The cat command example below, show the step by step to use the cat command to create text file.

The system configuration and hardware information in Linux Fedora can be collect and view using the sysreport utillity. The sysreport command can be executed to collect all the information, setting, including the hardware information for Fedora Linux system. The command example below show the step by step execution of sysreport command.

sysreport Command Example:

# sysreport

# sysreport -norpm

# cp /tmp/sysreport-fedora.gnulinux.com.20080724203716.tar.bz2 ./

1. Open the shell prompt then type in sysreport or sysreport -normp, then hit the Enter key.

2. The sysreport program will generate and store the result of system configuration and hardware information in the compress file, usually end with .tar.bz2 in the /tmp directory. Copy this result report to current directory, as shown on copy (cp command) example below.

3. To view the system configuration and hardware information open extract .tar.bz2 file (sysreport-fedora.gnulinux.com.20080724203716.tar.bz2) and then view the report file with your choice of text editor.

The easiest way to create new file ( empty text file or txt file) on Fedora Linux system is using touch command. The touch command can be very useful to create new empty text file on Linux system. The touch command example below show the step to create empty text file on Fedora Linux system.

Create file with touch command example no.01:

1. Create new file named text_file.txt

[root@fedora ~]# touch text_file.txt

[root@fedora ~]#

2. List file in current directory to verify the creation of new text_file.txt

The hostname command can be use to change host name on Linux machine. The step by step command example below show the use of the hostname command to change Linux hostname. The host name that change by the hostname command is not going to be permanent, the hostname is for temporary basis... the new hostname will be reset back to the original host name before we change the hostname... after the Linux machine rebooted. To change hostname permanently... see this article on how to change Linux hostname permanently.

hostname Command Example:

# hostname

# hostname [new hostname]

1. Display current Linux hostname.

[root@fedora ~]# hostname

fedora.linux.com

[root@fedora ~]#

2. Change current Linux host name (fedora.linux.com) to new hostname new.hostname.com

The host name of Linux machine can be retrieve / display using the hostname command. The hostname command can be use to change host name or just display hostname. The command example below show the use of hostname command to display the host name on Fedora Linux machine.

Display hostname Command Example:

# hostname

# hostname -v

1. To display Linux hostname just enter the hostname command, and then hit the Enter key.

[root@fedora ~]# hostname

fedora.linux.com

[root@fedora ~]#

2. The hostname command with the -v option display the machine host name on verbose mode.

How much your Linux box consume your memory resources. How many memory space are there available or free to use??? The free command can help you to to view memory resources or memory properties of your Linux box. The step by step command example below use the free command to display memory status on Linux Fedora machine

free Command Example:

# free

# free -t

# free -m

1. Command free display the memory status on the system:

[root@fedora ~]# free

total used free shared buffers cached

Mem: 673164 182772 490392 0 9176 107860

-/+ buffers/cache: 65736 607428

Swap: 557048 0 557048

[root@fedora ~]#

2. The free command below give total amount memory available on the system:

The partition table on Linux can be display using the fdisk command. The fdisk command (or partition table manipulator command) can be use to make partition table on your hard disk... the command example below, show how to use the fdisk command to display list of partition table on Fedora Linux system.

The tree command can be use to display list of directory and files in Linux system. The tree command also can display directory inode number and files inode number, as shown on the tree command example below.

Command example:

Display List of files and directory with files inode number and directory inode number that locate under root directory:

The uname command can be use to display the Linux machine system information. The example below show the execution of uname command and the output from the uname command that show current system information on the Linux system.

Linux training and practical guide on using basic Linux commands with step by step example. The list of basic Linux commands example that use on this site execute on Fedora Linux system using bash shell terminal. The basic Linux commands example usually publish with Linux commands screenshot and the Linux commands output himself to demonstrate how this basic Linux commands could be use, and for better understanding on how this Linux commands works.