create
First, we need to know what is swap memory? Generally, this is a temporary memory storage for an OS to utilize while the OS is trying to get more busy process managing another separate threads from another running applications.Assuming you already have an existing swap partition, which is usual by default installation, and we would [...]
Linux Copy, create, folders, Generator, headings, install, linux, partition, redhat, roots,
Here’s a tip on remounting partitions. Usually /boot is mounted as read-write linux filesystem by default installation. If you also feel that your /boot should not be changed, modified or upgraded, you can just remount them as read only partition without booting your linux system.As root: Go to /boot partition # cd /boot Create a [...]
IT-Tips, Linux create, install, linux, linux system, partition, roots, system,
1. How to know which ports are listening from your IP address? # nmap -sT -O your-ip-address 2. How to grep an exact match? # grep -w textfile.txt 3. How to reverse grep matches? # grep -v textfile.txt # 4. How to know which service name is what port? Assuming port 443 # cat testfile.txt [...]
Linux accesses, bases, command, comparison, create, crontab, databases, date, difference, edit, edition, extension, file, filesize, folders, grep, headings, hostname, hosts, httpd, install, kernel, lib, linux, listing, machine, mbox, memory, network, networking, Nmap, ping, port, ports, queries, redhat, sendmail, server, servers, services, shell, source, ssh, system, systems, usr, what,
As root 1. How to have a stop watch scenario from command line terminal? # time cat Press Ctrl+C 2. How to measure the time of executing any executable command? # time firefox wait 5 seconds and close the application 3. How to CD to a user’s home directory? # cd ~userhome 4. How to [...]
Tech Guru activation, Backup, check, command, computer, create, directory, file, firewall, folders, group, hosts, images, kernel, linux, listing, logins, logs, machine, memory, multiple, network, networking, partition, partitions, passwords, roots, shell, ssh, stop, uniq, Windows, zip,
1. How to you change file ownership and chown files recursively? # chown user:user folder -R 2. How to view queued mail in sendmail or postfix? # mailq 3. How to show which alternative binary program does your machine executes first? # alternatives –display program-name 4. How to create public/private rsa key pair? # ssh-keygen [...]
Linux acpi, activation, authenticate, bases, build, check, command, configuration, configure, connection, create, directory, exports, file, firewall, folders, format, group, hosts, Identify, images, install, interface, kernel, linux, listing, logins, logs, machine, microsoft, network, networking, recursion, recursively, roots, sbin, sendmail, services, shell, ssh, system, systems, tools, useradd, what, Windows,
Linux systems are capable of running scheduled jobs. Server administrative task are done on regular basis even while sysads are away or during sleeping hours. This keeps a fully working production server do unattended jobs on periodical basis. cron is a linux utility that schedules and automates jobs. This blog entry covers how to do [...]
Linux accesses, blog, capability, check, command, create, crontab, date, edit, edition, file, format, fri, functionality, linux, listing, logs, machine, redirection, roots, scripts, server, servers, system, systems,
Server SSH log files provides us information from simple system to critical system security message. Here are quick ways of doing it via CLI terminal. These examples could serve also as starting point to parse more search key strings not only from any ssh log files, but also to other daemon service log file such [...]
Linux apache, authenticate, bases, blog, command, config, create, daemons, date, email, file, Generator, grep, headings, linux, listing, logins, logs, mysql, parsed, passwords, queries, redirection, roots, scripts, secure, Security, sendmail, server, servers, services, ssh, system, systems, uniq, what,
Here are few ways to achieve the timer or stopwatch concept from command line terminal. As follow 1. This command shows real time values from your screen that is being updated every microsecond. # watch -n 0 date 2. Issuing this command does not provide live screenview of current elapsed time or timer stats. Only [...]
Linux command, create, date, linux, stop,
There are times that a server does not need to listen and process any TCP/UDP request for a long list of consecutive local IP addresses. This blog entry provides a starting point of creating server scripts to block a long list of consecutive IP address from the server for permanent blocking. To start, launch your [...]
Linux blog, create, crontab, functionality, install, listing, machine, roots, sbin, scripts, server, servers, shell, system, systems, usr,
We all know that /dev/null acts like a black hole in the universe. Anything you throw at it would be totally gone forever. Any attempts to read or write from it result to nothing. This means any data written to this /dev/null is just discarded and gone. This also mean that any data reads from [...]
Linux command, Copy, create, edit, edition, file, help, install, linux, logs, possibilities, roots, scripts, secure, Security, what,
Fighting spam email is a worldwide daily combat challenge. Email spam fight is just another daily server wide monitoring function of any sysad administering those email servers. Global spam email attacks and happens everyday regardless of country, server setup, domains, geolocation and public IP address you might have. Take a look of the top country [...]
Email, Linux attack, attackers, attacks, blog, command, create, crontab, directory, email, file, folders, functionality, linux, logs, mbox, recursion, recursively, roots, scripts, server, servers, source,
Syncronizing your current date and time is as important as making database backups. Without proper accurate stamped date and time, any backup file with any stamped date on it would be meaningless. Without correct time and date, those scripts that depend on date and time schedule would be executed inaccurately and would give you result [...]
Linux Backup, blog, check, command, comparison, create, daemons, databases, date, determine, difference, file, firewall, hosts, install, linux, network, networking, possibilities, protocol, queries, roots, scripts, server, servers, services, sync, system, systems, timezone,
Monitoring mailbox users can be done in many serveral ways via web interface or via terminal or via bash scripts. With the usual mbox type emails, incoming new email messages are automatically redirected to each users’ own spool file. This spool mail is by default located and stored in /var/spool/mail. From there, the spool file [...]
Email, Linux command, create, crontab, determine, difference, email, file, functionality, headings, incoming, interface, linux, listing, mbox, outlook, pipes, possibilities, redirection, scripts, server, servers, tools,
This document entry however covers a foundation approach and mostly used tar arguments on backing up data using the linux command tar. ============================================= Data backup samples using Tar Linux command ============================================= A very simple usage of tar # tar cvf backup.tar * Legend: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c create a new tar file -v verbose mode -f select [...]
Backup, Linux accesses, Backup, bases, command, compress, connection, Copy, create, crontab, date, difference, directory, enable, extension, file, filesize, fly, folders, Generator, grep, group, help, hosts, Identify, images, linux, listing, logs, multiple, partition, partitions, passwords, recursion, recursively, scripts, secure, Security, shell, source, ssh, sync, system, systems, what,
RSync backups data and does it very clean and well. Rsync only transfers those data that have been modified and changed so that the destination host has an exact replica from the source host. Rysnc is a command line backup tool that handles data transfers in an effective and secure manner like any other known [...]
Backup, Linux accesses, activation, authenticate, Backup, bases, bind, capability, chroot, client, command, community, compress, configuration, configure, connection, Copy, create, credentials, daemons, databases, difference, directory, edit, edition, enable, extension, file, filesize, firewall, fly, folders, greetings, grep, group, hostname, hosts, ignore, install, linux, listing, logins, logs, multiple, network, networking, partition, partitions, passwords, port, ports, possibilities, programmer, protocol, recursion, recursively, redirection, roots, secure, Security, server, servers, services, shell, sites, source, speed, ssh, sync, system, systems, tools, usr, Windows,