With the “-k” option, the sort command can be used to sort flat file databases. Without the “-k” option, the sorting is performed using the entire line. The default separator for fields is the space character. The -t option can be used to change the separator. Examples: Assume the...
Related Commands What is cc? The cc compiler is the default compiler for Unix systems like Sun solaris. This is a powerful compiler used for compilation of C code. 5 cc Examples 1. A basic example Compiling a C code with cc compiler is very easy. For a very basic case, just pass the...
This article showed six ways to convert a DOS file into a Unix format and vice versa. The simplest and recommended way is using thedos2unixcommand. If you cannot utilizedos2unix, you have five other options to choose from.
The ls command is one of the very basic and most frequently used commands in Linux. I can say in other words, it’s heart for Linux user. I believe that everybody first use ls command when their logged into Linux system. The ls command comes with many options and each options will gi...
This article provides practical examples for 50 most frequently used commands in Linux / UNIX. This is not a comprehensive list by any means, but this should give you a jumpstart on some of the common Linux commands. Bookmark this article for your future
Time command provides several command line options and various format options as explained in this tutorial 1. Basic Time Command Usage Example Time command syntax: $ time [-options] For example, time command is run on sleep command without any option. $ /usr/bin/time sleep ...
Tar Command in Unix with Examples The archive format preserves the directory structure, and the file system attributes such as permissions and dates. Tar Syntax: tar [function] [options] [paths] Tar options: The tar command supports the following functions: ...
Usage: scxadmin Generic options (for all commands) [-quiet] Set quiet mode (no output) General Options scxadmin -version Service Management scxadmin {-start|-stop|-restart|-status} [all|cimom|provider] Providers Management scxadmin -config-list {RunAs} scxadmin -config-set {RunAs} {CWD=<...
Syntax and Options Related Commands What is e2fsck? Check ext2, ext3, or ext4 filesystems. 5 e2fsck Examples 1. Check a partition You should be root to execute this command. If not, you’ll get the following error message. $ /sbin/e2fsck /dev/sdb1 ...
Computers, smartphones, and internet-connected devices communicate with one another through IP networking. “Internet Protocol” is part of the TCP/IP suite that governs the exchange of data across modern computer networks. Every operating system uses a series of commands to interact with data. Tha...