Topic
Shell
4 notes.
SSH/SFTP: Create and Restrict a User to his Home Directory on a Ubuntu Server
This is a step by step guide to create a new user and restrict the user to his home directory. 1. Create a new user 9651057376abcc7d335fce_000000 2. Change…
Use WGET to recursively download the whole FTP directory
I wanted to copy all of the files and folders from my current host to my new server. And I only have FTP access to that current host.…
SED: Shell command to find and replace text inside a directory (multiple files)
I have been using this command for a long time now. Whenever i am in need of this command, i won't be remembering the correct syntax. So, i…
Inline Shell Script with a For Loop
Often I'm asked how to traverse a list of items in a file. You can easily go through a list of items using a for loop. Here's an…