Skip to main content

Posts

Featured

The Most Important Linux Commands

1.  get all directory size within Directory du -h --max-depth=1 | sort -hr 2. delete directory and all files inside directory rm -rf dir_name/ NOTE :   running this command be careful because files are permanently delete their is now way to restore it.   3.get current directory path pwd 4.List Directory ls 5. go to root Directory cd / 6. connect radis in ssh redis-cli -h 10.0.0.01 -p 6379 7.  Flush radis database cache FLUSHALL 8.  exit to radis environment exit 9. login as super user in terminal $ sudo su 10. Remove file rm file.txt 11. It is a powerful command-line tool which can perform installation, upgrade, and even removing your software. $ sudo apt-get update $ sudo dnf update 12. grep You need to find a file but you don't remember its exact location or the path. grep will help you to solve this problem. $ grep user /etc/passwd 13. As a user, you often need to view some of text or code from your script. Again, one of the Linux basic

Latest Posts

Create thumbnail any size wihout affect image quality

Create Event that will run every day at 23:30:01 and get all data from table A and copy to table B.

What's the difference between MyISAM and InnoDB

Get all image files name inside directory and store in database.