bash get width of terminal
# Gets the terminal width, in # characters
tput cols
# Gets the number of rows in the terminal
tput lines
bash get width of terminal
# Gets the terminal width, in # characters
tput cols
# Gets the number of rows in the terminal
tput lines
terminal get size of file
ls -l filename #Displays Size of the specified file
ls -l * #Displays Size of All the files in the current directory
ls -al * #Displays Size of All the files including hidden files in the current directory
ls -al dir/ #Displays Size of All the files including hidden files in the 'dir' directory
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us