colrm command in Linux with examples Last Updated : 15 May, 2019 Comments Improve Suggest changes Like Article Like Report colrm command in Linux is used for editing text in source code files, script files or regular text files. This command removes selected columns from a file. A column is defined as a single character in a line. It always starts at index 1 and not 0. If both start and end are specified, then the columns between them, including start and end will be removed. If only one specific column needs to be deleted, then start and end must be the same. colrm can also take input from stdin. Syntax: colrm [start] [stop] Example 1: Here, we take input from stdin. Here the start and end are different. So all the characters between start and end, including start and end will be removed. Same can be used on a file (See example 2) In the example given below, we take input form stdin. Here the start and end column are same i.e 6. So only the sixth character will be removed. Example 2: Here, we first make a text file using cat command and then use colrm on the file. Comment More infoAdvertise with us R RuchaDeodhar Follow Improve Article Tags : Linux-Unix Similar Reads chgrp command in Linux with Examples The `chgrp` command in Linux is used to change the group ownership of a file or directory. All files in Linux belong to an owner and a group. You can set the owner by using âchownâ command, and the group by the "chgrp" command. Syntax of `chgrp` command in Linuxchgrp [OPTION]⦠GROUP FILE⦠chgrp [OPT 3 min read chkconfig command in Linux with Examples 'chkconfig' command is used to list all available services and view or update their run level settings. In simple words it is used to list current startup information of services or any particular service, update runlevel settings of service, and adding or removing service from management. Here weâl 3 min read How to Make Script Executable in Linux | chmod Command In Unix operating systems, the chmod command is used to change the access mode of a file. The name is an abbreviation of change mode. Which states that every file and directory has a set of permissions that control the permissions like who can read, write or execute the file. In this the permissions 7 min read How to Change File Ownership in Linux | chown Command In the Linux operating system, file ownership is a crucial aspect of system security and user management. The chown command, short for "change owner," is a powerful tool that allows users to change owner of file in Linux. This command is particularly useful in scenarios where administrators need to 9 min read chpasswd command in Linux with examples chpasswd command is used to change password although passwd command can also do same. But it changes the password of one user at a time so for multiple users chpasswd is used. Below figure shows the use of passwd command. Using passwd we are changing the password of the guest user. Here first you ha 2 min read chroot command in Linux with examples The 'chroot' command in Linux and Unix-like systems is used to change the root directory for the current running process and its child processes. This change creates a restricted environment, often referred to as a "chroot jail" or "jailed directory," where processes are limited to accessing only fi 3 min read chrt command in Linux with examples 'chrt' command in Linux is known for manipulating the real-time attributes of a process. It sets or retrieves the real-time scheduling attributes of an existing PID, or runs the command with the given attributes. 'chrt' can help optimize process management in a Linux system, especially for applicati 4 min read chsh command in Linux with examples chsh command in Linux is used to change the user's login shell(currently login shell). Shell is an interactive user interface with an operating system and can be considered an outer layer of the operating system. The bash shell is one of the most widely used login shells in Linux. This command allow 1 min read chvt command in Linux with examples 'chvt' command in Linux systems is used to switch between the different TTY (TeleTYpewriter) terminals available. These are essentially Virtual Terminals, which are toggled when the keys "Ctrl + Alt + FunKey(1-6)" are pressed. There are usually 6 TTY terminals, and the 'chvt' command is used to swit 3 min read cksum command in Linux with examples cksum command in Linux is used to display a CRC (Cyclic Redundancy Check) value, the byte size of the file, and the name of the file to standard output. CRC is unique for each file and only changes if the file is edited. It is used to check whether the file had accidentally corrupted while transfer. 1 min read Like