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]  ...
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.  ...
6. 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 ...
7. 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. ...
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 ...
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 ...
10. 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 ...
11. 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 ...
13. 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 ...
14. 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.  ...
15. 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 ...
16. 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 ...
18. 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 ...
19. find
Command find find command displays a list of files that match a given set of criteria. Syntax find [path] [options] Options -depth first processing the current directory, then its subdirectories. ...
20. file
Command file file command displays the type of data file based on rules defined in the file /usr/lib/magic (known as the magicfile). Syntax file [options] files Options -c displays formatted in ...
<< Start < Prev 1 2 3 Next > End >>
Page 1 of 3

Latest News

Friends

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