Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

wc linux command

# Example of wc use 

wc /proc/cpuinfo 

448 3632 22226 /proc/cpuinfo

# 448: Number of lines
# 3632: Number of words
# 22226: Number of characters
Comment

wc command

wc file.txt
10		20		500 	file.txt
lines	words	bytes	file_name
wc -l file.txt # Outputs only lines (-l)
wc -w file.txt # Outputs only words (-w)
wc -c file.txt # Outputs only bytes (-c).
Comment

PREVIOUS NEXT
Code Example
Shell :: pip install flask dockerfile 
Shell :: awk print all columns 
Shell :: créer un fichier powershell 
Shell :: apache commands on debian 
Shell :: how to create a repository 
Shell :: seach only in name apt 
Shell :: how to install brew on jelastic 
Shell :: git init git remote add origin git pull 
Shell :: upgrade all content database sharepoint 2013 powershell 
Shell :: create new git repository 
Shell :: git diff no context 
Shell :: git colorize log 
Shell :: To permanently fix this problem, please run: npm ERR! sudo chown -R 1000:1000 
Shell :: arch jpg to png 
Shell :: terminal mkdir and cd 
Shell :: xrandr 1600x900 ubuntu 
Shell :: run redis o docker no auth 
Shell :: View Changes Before Committing 
Shell :: how to generate ssh keys for git 
Shell :: docker ps grep container id 
Shell :: bash open file in text editor 
Shell :: temporary failure resolving security.ubuntu.com 
Shell :: stop elasticsearch 
Shell :: batch file with flags 
Shell :: phoenix install 
Shell :: sdkmanager "system-images;android-27;google_apis_playstore;x86" 
Shell :: install zeek on ubuntu 18.04 
Shell :: bash find string in program output 
Shell :: fix pvc pending kubernetes 
Shell :: running wordpress locally with valet 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =