EMBED YOUR TERMINAL RECORDINGS ONLINE


Number lines in a file

DATE: 2011-12-10
AUTHOR: pnakotus015
AUTHOR WWW: http://musingsfrompnakotus.blogspot.com/
RELATED ARTICLE: http://www.gnu.org/software/coreutils/manual/coreutils.htm
Bookmark and Share
EMBED THIS RECORDING:
<div><script id="playterm-MjAxMS0xMi9ubHR0eS0xMzIzNTI3MDQ1fDEyMHgzNQ==" type="text/javascript" src="http://playterm.org/js/?hash=MjAxMS0xMi9ubHR0eS0xMzIzNTI3MDQ1fDEyMHgzNQ==" class="size:120x35"></script></div>


Related recordings:

CAT COMMAND IN LINUX

tags: cat unix gnu linux view file textfile editing
LIST DIRECTORIES IN LINUX WITH LS

tags: ls directory show content linux disk beginner
SUTRAPHP-INTRODUCTION

tags: sutraphp sutra php console cli eventbased
MORE OVERVIEW IN MYSQL WITH SELECTS

tags: mysql, select, more overview, console
M4, THE HIDDEN GNU TREASURE

tags: m4, gnu, macroprocessor, template, search, replace, sed
THE UNIX TREE COMMAND

tags: unix console tree bash directory listing
DEVTODO: COMMANDLINE TODO MANAGEMEN

tags: todo xml tasks productivity management
VIM ALIGN

tags: vim align aligning text text editing text trick
VISUAL SELECTS IN VIM

tags: vim visual selects regex text editing fast
GENERATING PHP & SQL (MAPPING) CODE

tags: sutra generate sql generate database php cms mysql

Sometimes you just need to number the lines in a file.

sqz said

thnx, I used to use 'cat -n <file>' but this seems even better.

 

Name   
Email (never shown)  
Comment