Linux and UNIX Systems Configuration Help, How To, Tutorial and Basic Information

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
Home Commands File, Directory
File, Directory
wc PDF Print E-mail
Tuesday, 16 March 2010 13:42
AddThis Social Bookmark Button

Command wc

Displays the number of bytes, words and lines found in the file.

Syntax

wc [options] [files]

Options

-c displays only the number of bytes.
-w only shows the number of words.
-l displays only the number of rows.

Description

wc command displays the number of bytes, words and lines found in the file. If the input file is not specified, wc reads from standard input.

 
unalias PDF Print E-mail
Tuesday, 16 March 2010 13:10
AddThis Social Bookmark Button

Command unalias

Eliminates the abbreviation as defined previously by using the alias.

Syntax

unalias abbreviation

Options

no

Description

command unalias removes the abbreviation as defined previously by using the alias. Command unalias is a built-in command processor Bash.

 
touch PDF Print E-mail
Tuesday, 16 March 2010 12:55
AddThis Social Bookmark Button

Command touch

Changes the timestamp of file.

Syntax

touch [options] files

Options

-c prescribes not to touch the file if it does not exist.
-d time, using the specified time.
-r file uses a timestamp of the mentioned file.
-t MMDDhhmm uses the specified date and time.

Description

touch command lets you change the date and time of last modification file (this information is stored with the file). When you enter touch without options as timestamp file using current date and time. If the specified file does not There, touch creates a new file size 0 bytes.

 
tar PDF Print E-mail
Friday, 19 February 2010 13:51
AddThis Social Bookmark Button

Command tar

Creates archive files or extract files from archives.

Syntax

tar [options] file_or_directory

Options

-c creates a new archive.
-d compares the files from the archive files from the current directory.
-r adds the files in the archive.
-t displays the contents of the archive.
-x extracts files from the archive.
-C directory extracts the files in the specified directory.
-f file read the archive from the specified file.
-L n determines the size of the tape to n kilobytes.
-N date archive only files newer than specified date.
-T file archives or extract files with names listed in the file file.
-v verbose.
-z compresses or decompresses the archive with gzip.
-j compresses or decompresses the archive through bzip2.

Description

The tar command creates an archive file, or extract files from existing archives.

 
tail PDF Print E-mail
Friday, 19 February 2010 13:40
AddThis Social Bookmark Button

Command tail

Displays the last few lines of the file.

Syntax

tail [options] file

Options

-N (where N - number) displays the last N lines.
-n N (where N - number) displays the last N lines.
-f reads a file at specified intervals and displays the new line.

Description

tail command displays the last lines of the file. By default last 10 lines of the file.

 
More Articles...
<< Start < Prev 1 2 3 4 5 6 7 Next > End >>

Page 1 of 7

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)