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
file
Tags: [linux, unix, command, file]  ...
Tags: [samba, FTP, file server]  ...
3. wc
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 ...
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 ...
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 ...
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 ...
... removes empty directories. If the directory is not empty, you must remove all files along with the directory using the command rm -r.  ...
8. rm
Command rm Removes one or more files. Syntax rm [options] files Options -f deletes files without asking. -i asks for confirmation before deleting files. -r recursively deletes files in all subdirectories ...
9. mv
Command mv Renames files and directories or move them from one directory to another. Syntax mv [options] source destination Options -b creates backup copies of files that are moved or renamed. ...
10. more
Command more Performs view text files. Syntax more [options] file_names Options +N (where N - number) displays the file, starting at the specified line number. +/pattern begins with a display ...
11. man
Command man Print page operational manual (also called man-pages). Syntax man [options] [section] command Options -C conf_file indicates configuration file man (by default /etc/man.config). -p ...
12. ls
Command ls Prints the contents of the directory. Syntax ls [options] [directory-names] Options -a displays all files, including those with names starting with a dot (.). -b displays unprintable ...
13. ln
Command ln Sets hard or symbolic links (aliases) for files and directories. Syntax ln [options] existing_file new_name Options -b backs up files before deleting them. -d creates a hard link to ...
... file (first create backup of config file). Type gedit /etc/pam.d/gdm or vi /etc/pam.d/gdm Put # before auth required pam_succeed_if.so user != root quiet line, after that file shuold look ...
15. less
Command less less command displays text files (with the possibility of searching through back). Syntax less [options] file_name Options -? displays a list of commands that can use less. -p displays ...
16. info
Command info info command displays online help for any command Linux. Syntax info [options] command Options -d add the directory to the list of directories in which files are being explored.  ...
17. head
Command head head command displays the first few lines of a file to standard output. Syntax head [options] file Options -n nline number of displayed rows. Description Displays the first line ...
18. gzip
Command gzip gzip command compress one or more files. Syntax gzip [options] files Options -c displays the output file to standard output and keeps the original file. -d decompresses the file (same ...
Command gunzip gunzip command uncompress zip-files. Syntax gunzip [options] files Options See options for gzip. Description Team gunzip decompresses the compressed files (with extension .gz ...
20. grep
Command grep grep command provides search in one or more files, lines that match the regular expression (search patterns). Syntax grep [options] pattern files Options -N (where N-number) displays ...
<< Start < Prev 1 2 3 Next > End >>
Page 1 of 3

Friends

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