Linux commands for WEB developers

Copy a folder

What port is used?

Find and delete files greater than a given size

Find out directories using disk space

Find a file

Sorting ls command output by file size

to reverse order use -r option.

Archive directory

Copy files from remote to local with Rsync

File permissions

Change permission of file.

4 – read (r)
2 – write (w)
1 – execute (x)

order: owner/group/world

eg:
755 – rwx for owner, rx for group and world

List directory files sorted by time