This continuation to my previous post on bc command - calculator. In this article we will see how to use the expr command in unix or linux system for doing arithmetic operations. The syntax of expr command is expr [expression] Let see how to use the expr command...
Sunday, 29 April 2018
Friday, 27 April 2018
SSH/Zip Command Examples in Unix / Linux
SSH Command SSH client utility in unix or linux server is used to logging into a remote host and execute commands on the remote machine. The rlogin and rsh commands can also be used to login into the remote machine. However these are not secure. The ssh command...
Wednesday, 25 April 2018
Join Command in Unix/Linux Examples
Join command is one of the text processing utility in Unix/Linux. Join command is used to combine two files based on a matching fields in the files. If you know SQL, the join command is similar to joining two tables in a database. The syntax of join command...
Saturday, 21 April 2018
Objectives: LPIC-2 Exam 201 (Linux Engineer)
Topic 200: Capacity Planning 200.1 Measure and Troubleshoot Resource Usage Weight: 6 Description: Candidates should be able to measure hardware resource and network bandwidth, identify and troubleshoot resource problems. Key Knowledge Areas: ◈ Measure CPU usage ◈ Measure memory usage ◈ Measure disk I/O ◈ Measure network I/O ◈ Measure...
Friday, 20 April 2018
Delete Directory, Files - rm, rmdir command in Unix / Linux
How to delete directories and files in unix/linux Unix provides rmdir and rm commands to remove the directories and files. Let see each command in detail. Unix rmdir command syntax The syntax of rmdir command is rmdir [options] directories The rmdir command options are -p : Removes directory...
Saturday, 14 April 2018
Grep Command in Unix and Linux Examples
Grep is the frequently used command in Unix (or Linux). Most of us use grep just for finding the words in a file. The power of grep comes with using its options and regular expressions. You can analyze large sets of log files with the help of grep...
Friday, 13 April 2018
Objectives: LPIC-1 Exam 101
Topic 101: System Architecture 101.1 Determine and configure hardware settings Weight: 2 Description: Candidates should be able to determine and configure fundamental system hardware. Key Knowledge Areas: ◈ Tools and utilities to list various hardware information (e.g. lsusb, lspci, etc.) ◈ Tools and utilities to manipulate USB devices ◈ Conceptual...
Tuesday, 10 April 2018
Top Examples of Awk Command in Unix
Awk is one of the most powerful tools in Unix used for processing the rows and columns in a file. Awk has built in string functions and associative arrays. Awk supports most of the operators, conditional blocks, and loops available in C language. One of the good things...