≡ Menu

linux shell

Shell Scripting: Check File Size ( Find File Size )

How do I find out file size under UNIX / Linux operating system and store the same to a variable called s?
[click to continue…]

pdfinfo: Find Out PDF File Information From A UNIX / Linux Shell Prompt

Q. How do I find out more information about Portable Document Format (PDF) document from a shell prompt? How do I find out information such as what software used to create a pdf file, its page size, and its creation date etc, using the terminal?
[click to continue…]

Linux / UNIX Shell: Sort IP Address

Q. I'd like to sort a list of IP address stored in a text file. How do I sort by last notation or entire address under Linux or UNIX operating systems?
[click to continue…]

Understanding command line shell

Q. I’ve migrated from Windows NT to Linux workstation. Most documents refer to a command line shell. Can you explain me command line shell?

A. A shell allows you to type the commands such as date or clear. There are many shell available. BASH (bourne again shell) is default shell for most Linux distributions.

It also known as a command interpreter which takes command from user and pass the same to kernel for execution. Bash shell supports aliases, filename completion, command history, POSIX compatibility and many other features.

Other UNIX / Linux shell

  • csh / tcsh
  • sh / ksh

How To Use SSH in Unix or Linux shell script

Q. How do I use ssh client program in a shell script under UNIX or Linux operating system?
[click to continue…]