Thursday, 30 August 2018

20 Sed (Stream Editor) Command Examples for Linux Users

Sed command or Stream Editor is very powerful utility offered by Linux/Unix systems. It is mainly used for text substitution , find & replace but it can also perform other text manipulations like insertion, deletion, search etc. With SED, we can edit complete files without actually having to...

Tuesday, 28 August 2018

10 useful ncat (nc) Command Examples for Linux Systems

ncat or nc is networking utility with functionality similar to cat command but for network. It  is a general purpose CLI tool for reading, writing, redirecting data across a network. It is  designed to be a reliable back-end tool that can be used with scripts or other programs. ...

Saturday, 25 August 2018

11 Useful split command examples for Linux/UNIX systems

As the name suggests ‘split‘ command is used to split or break a file into the pieces in Linux and UNIX systems. Whenever we split a large file with split command then split output file’s default size is 1000 lines and its default prefix would be ‘x’. In...

Friday, 24 August 2018

10 Quick Tips About sudo command for Linux systems

Overview sudo stands for superuser do. It allows authorized users to execute command as an another user. Another user can be regular user or superuser. However, most of the time we use it to execute command with elevated privileges. sudo command works in conjunction with security policies, default...

Friday, 17 August 2018

Grep Command in Unix Shell script

Q) How to use the grep command in unix or linux bash scripts to search for a pattern match? You might have used the grep command to search for a string in a file on the unix command line. Here we will see how to use the grep...

Tuesday, 14 August 2018

Cut Command in Unix ( Linux) Examples

Cut command in unix (or linux) is used to select sections of text from each line of files. You can use the cut command to select fields or columns from a line by specifying a delimiter or you can select a portion of text by specifying the range...

Sunday, 12 August 2018

Learn Git Command with Practical Examples on Linux

Git is distributed version control system. It is primarily used by software developers for their source code management. Git is free and open source software and many large organizations use it to manage their huge code base. Git user initial configuration First we have to configure settings for...

Tuesday, 7 August 2018

WC Command Examples - Count of Lines, Words, Characters - Unix / Linux

WC command in unix or linux is used to find the number of lines, words and characters in a file. The syntax of wc command is shown below: wc [options] filenames You can use the following options with the wc command. -l : Prints the number of lines...

Wednesday, 1 August 2018

Chmod Command Examples in Unix / Linux

Chmod (change mode) is one of the most frequently used commands in unix or linux operating system. The chmod command is used to change the file or directory access permissions. To know about the access permissions of a file or directory, use the ls -l command as shown...

Pages (26)1234567 »