How To Find The Size Of A Directory In Linux Ubuntu

This brief tutorial explains how to find the size of a directory on Ubuntu or Other operating systems. getiing the size of files and folder in GUI mode quite easy. you have to just right-click go to the Property but in console mode. Let me show you how to find the size of a Ubuntu/Linux directory on the command line. add -h tag with du command as shown below. use -k for kilobytes, -m for megabytes [root@webtechbuzz]# du -k /home/webtechbuzz …

Read More

Difference between _forward() and _redirect() action in magento 2

_forward() just forwards everything to another controller action, while _redirect() sends a header, meaning you create a new HTTP Request and go through the entire dispatch process with it. _forward() protected function will edit the request to transfer it to another controller/action class. This will not change the request url. _redirect() This method will redirect to another controller/action class and also change the response http header and the request url. For instance, if you call up http://www.webtechbuzz.com/foo/bar you’d call the …

Read More