Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

command to ceck number of lines or words in a file

# The first number is for lines, the second is for words and the last is for size in bytes

wc <filename>
wc -l for just lines
wc -w for just words

#check man wc for other options
Comment

PREVIOUS NEXT
Code Example
Shell :: disable logging in linux 
Shell :: missing package statement intellij 
Shell :: fstab path 
Shell :: how to search for a package on arch repositories 
Shell :: .htaccess when deploying 
Shell :: python subprocess.check_call 
Shell :: guardar vi 
Shell :: powershell get-aduser global catalog 
Shell :: c program to add 1 to each digit of a number 
Shell :: Create bash BACKUP 
Shell :: github action evaluate dynamic secrets variable 
Shell :: powershell script turn off screen 
Shell :: ubuntu r package install problem 
Shell :: upgrade r from consele 
Shell :: ffmpeg copy video 
Shell :: incrementing a varibale gives 1 not found in bash 
Shell :: protocol error: filename does not match request 
Shell :: nohup server stop in python django 
Shell :: linux index.html datei auflistung alle dateien 
Shell :: git pull from master why 
Shell :: tomcat monit 
Shell :: Cloud watch agent for logs and use of PStore 
Shell :: GOOGLE_CREDENTIALS to the terraform Cloud workspace 
Shell :: how to get device name in lsusb 
Shell :: basic config palo alto cli 
Shell :: ansible-playbook limit tag 
Shell :: mdem ubuntu ssh key no password 
Shell :: spacemacs ubuntu 
Shell :: quick checkers for ubuntu 
Shell :: On Debian and Ubuntu systems stop all apache2 processes 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =