Linux: everyday tasks
Handle everyday work on a server: find files and processes, set permissions for a team, make a backup and track down logs that have grown too large.
- List users from passwdeasy
- Create a usereasy
- Set file permissionseasy
- Symlink to the freshest logeasy
- Create a hard linkeasy
- Find every PHP script on the siteeasy
- Find the hidden fileeasy
- Find a PID by nameeasy
- Count tail processeseasy
- How many times the site returned 404easy
- Which day of the year is iteasy
- Convert a file to uppercasemedium
- A folder for every monthmedium
- Shared project directorymedium
- Fix up the site's permissionsmedium
- Shared directory with the sticky biteasy
- Directory permissions and the sticky bitinterview questioneasy
- Global environment variablemedium
- Turn off debug in every serviceeasy
- Delete files from a listmedium
- Create files from a list of names via xargs -Imedium
- Back up /etceasy
- Peek inside an archive without extractingeasy
- Extract a single file from an archivemedium
- Find large logseasy