expand Command in Linux

This tutorial explains Linux “expand” command, options and its usage with examples. expand – convert tabs to spaces. Description : Convert tabs in each FILE to spaces, writing to standard output. With no FILE, or when FILE is -, read standard input. Usage : expand [OPTION]… [FILE]… Options : -i, –initial do not convert tabs … Read more

advertisement

unexpand Command Examples in Linux

This tutorial explains Linux “unexpand” command, options and its usage with examples. unexpand – convert spaces to tabs Description : Convert spaces in each FILE to tabs, writing to standard output. With no FILE, or when FILE is -, read standard input. Usage : unexpand [OPTION]… [FILE]… Options : -a, –all convert all blanks, instead … Read more

advertisement

newgrp Command with Examples in Linux

This tutorial explains Linux “newgrp” command, options and its usage with examples. What is newgrp Command? The newgrp command in Linux is used to log in to a new group. It allows users to change their default group during a login session. If a hyphen (“-“) is included as an argument, the user’s environment is … Read more

advertisement

quotaon Command in Linux with Examples

This tutorial explains Linux “quotaon” command, options and its usage with examples. quotaon – turn filesystem quotas on Description : quotaon announces to the system that disk quotas should be enabled on one or more filesystems. The filesystem quota files must be present in the root directory of the specified filesystem and be named either … Read more

advertisement

chpasswd Command in Linux with Examples

This tutorial explains Linux “chpasswd” command, options and its usage with examples. chpasswd – update password file in batch Description : chpasswd reads a file of user name and password pairs from standard input and uses this information to update a group of existing users. Without the -e switch, the passwords are expected to be … Read more

advertisement

groupdel Command with Example in Linux

This tutorial explains Linux “groupdel” command, options and its usage with examples. groupdel – Delete a group Description : The groupdel command modifies the system account files, deleting all entries that refer to group. The named group must exist. You must manually check all filesystems to insure that no files remain with the named group … Read more

advertisement

groupadd Command with Examples in Linux

This tutorial explains Linux “groupadd” command, options and its usage with examples. groupadd – Create a new group Description : The groupadd command creates a new group account using the values specified on the command line and the default values from the system. The new group will be entered into the system files as needed. … Read more

advertisement

groupmod Command with Example in Linux

This tutorial explains Linux “groupmod” command, options and its usage with examples. groupmod – Modify a group Description : The groupmod command modifies the definition of the specified GROUP by modifying the appropriate entry in the group database. Usage : groupmod [options ] group Options : -g, –gid GID The group ID of the given … Read more

advertisement

quotaoff Command in Linux with Examples

This tutorial explains Linux “quotaoff” command, options and its usage with examples. quotaff – turn filesystem quotas off Description : The quotaoff command disables disk quotas for one or more file systems. By default, both user and group quotas are disabled. An error (EPERM) will be returned if the quota.user and quota.group files are not … Read more

advertisement

printenv Command in Linux with Examples

This tutorial explains Linux “printenv” command, options and its usage with examples. printenv – print all or part of environment Description : printenv prints the values of the specified environment VARIABLE(s). If no VARIABLE is specified, print name and value pairs for them all. Usage : printenv [VARIABLE]… printenv OPTION Options : -0, –null end … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.