Some basic UNIX command which helps in managing server
- copy a directory
cp -r dir1 /path/to/destination/dir - Extract tar.gz file
tar xvfz archive_name.tar.gz - create a tar.gz file
tar cvfz archive_name.tar.gz dirname/ - Search file with file name
find . -type f -name '*.php'
No comments:
Post a Comment