Linux Server and Workstation Configuration How To

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
Home
text
... you store HTML c text errors error_directory /usr/local/etc/squid/errors/Russian-1251 cache_log /var/log/squid/cache.log # Debug_options ALL, 5 pid_filename /var/log/squid/squid.pid # Ports on ...
... the vi text editor to edit the file filename a Add text after the cursor h Moves the cursor one character left j Moves the cursor down one line k Moves the cursor up one ...
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 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 ...
... -f file_info specifies the file used by the team info. -h displays the information on the application info. Description Info command displays online help for this team in full text box. For more information ...
... only whole words. Description The command grep searches for a template in these files. Typically, the grep command used to search a specified sequence of characters in one or more text files.  ...
Command dos2unix dos2unix command converts a text file format DOS/Mac to UNIX format. Syntax dos2unix [options] [-o file ...] [-n source_file destination_file ...] Options -h displays help about ...
Command diff diff command shows the differences between two text files (or all files with the same names in two different directories). Syntax diff [options] first_file a second_file Options -a ...
Command cut cut command copies the selected part of each line of a text file on stdout output. Syntax cut [options] file Options -b list selects the characters in the positions specified in the ...
Use –databases option for exporting several databases. mysqldump -u username -ppassword –databases db_name1 [db_name2 ...] >dump.sql
... port - Edit /etc/ssh/sshd_config config file by your favorite text editor and change the line which reads "Port 22" to any other unused port. #Port 22 Port 2223 Disable Protocol 1 which is insecure ...
... file(s) # rm *.txt # rm lala.txt Create text file # touch /tmp/myfile Show current path # pwd Show full path of application # which php # which ffmpeg # which httpd Copy file cp /root/install.log ...
... ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.19.default.img Change the `default=1` to `default=0` on the top of the text. Now configure the grub boot loader via vim command and add the following ...
Mail content text is /tmp/message.txt # mail -s 'Server Status Report' george@example.com -c Jon@example.com < /tmp/message.txt Send Mail With Attachment # !/bin/bash # tar -zcf /tmp/backup.tar.gz ...
...  finger 79/tcp www 80/tcp http # WorldWideWeb HTTP www 80/udp # HyperText Transfer Protocol link 87/tcp ttylink kerberos 88/tcp kerberos5 krb5 # Kerberos v5 kerberos 88/udp kerberos5 ...

Useful Links

Friends

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