10 Practical cp Command Examples in Linux

This tutorial explains Linux “cp” command, options and its usage with examples. “cp” command is used to copy files and directories. This post describes “cp” command used in Linux along with usage examples and/or output. Usage: cp [OPTION]… [-T] SOURCE DEST cp [OPTION]… SOURCE… DIRECTORY To copy files and directories use the cp command under … Read more

advertisement

csplit Command in Linux with Examples

This tutorial explains Linux “csplit” command, options and its usage with examples. “csplit” command is used to split a file into sections determined by context lines. This post describes “csplit” command used in Linux along with usage examples and/or output. Usage: csplit [OPTION]… FILE PATTERN… The patterns may be line numbers or regular expressions. The … Read more

advertisement

cupsd Command in Linux with Examples

This tutorial explains Linux “cupsd” command, options and its usage with examples. cupsd – common unix printing system daemon Description : cupsd is the scheduler for the Common UNIX Printing System. It implements a printing system based upon the Internet Printing Protocol, version 1.1. If no options are specified on the command-line then the default … Read more

advertisement

bootpd Command in Linux with Examples

This tutorial explains Linux “bootpd” command, options and its usage with examples. bootpd – Bootstrap Protocol Daemon Description: bootpd implements an Internet Bootstrap Protocol (BOOTP) server as defined in RFC951, RFC1532, and RFC1533. This server also provides some extension to support the static part of Dynamic Host Configuration Protocol (DHCP) as specified in RFC1533. DHCP … Read more

advertisement

vmstat Command in Linux with Examples

vmstat – Virtual Memory Statistics. The vmstat command in Linux is utilized to display virtual memory statistics. It reports details about processes, memory, paging, block IO, traps, and CPU activity. This command proves beneficial for recognizing potential performance bottlenecks and diagnosing system-related issues. Syntax: The syntax for using vmstat command in Linux is as follows: … Read more

advertisement

whoami Command in Linux

This tutorial explains Linux “whoami” command, options and its usage with examples. whoami Description: whoami is used to print effective userid. Synopsis: whoami [OPTION]… It prints the user name associated with the current effective user ID. Same as id -un command. Example : $ whoami Sanfoundry Global Education & Learning Series – 1000 Linux Tutorials. … Read more

advertisement

apmd Command in Linux with Examples

This tutorial explains Linux “apmd” command, options and its usage with examples. apmd – Advanced Power Management (APM) daemon. Description apmd is an APM monitoring daemon, and works in conjunction with the APM BIOS driver in the OS kernel. It can execute a command (normally a shell script) when certain events are reported by the … Read more

advertisement

atd Command with Examples in Linux

This tutorial explains Linux “atd” command, options and its usage with examples. atd is used to run jobs queued for later execution. atd runs jobs queued by using at command. atd won’t work if its spool directory is mounted via NTFS Synopsis : atd [-l load_avg] [-b batch_interval] [-d] [-s] [-f] Options : -l Specifies … Read more

advertisement

chsh Command Examples in Linux

This tutorial explains Linux “chsh” command, options and its usage with examples. “chsh” command is used to change login shell. This post describes “chsh” command used in Linux along with usage examples and/or output. Usage: chsh [options] [LOGIN] The “chsh” command changes the user login shell. This determines the name of the user’s initial login … Read more

advertisement

w Command in Linux

This tutorial explains Linux “w” command, options and its usage with examples. This command shows who is logged on and what they are doing. Description: w displays information about the users currently on the machine, and their processes. The header shows, in this order, the current time, how long the system has been running, how … 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.