Linux Directory Commands

Directory Commands ls– This command ‘lists’ the contents of your present working directory. pwd- Shows you what your present working directory is. cd– Lets you change directories. rm– Removes one or more files. rmdir– Remove an empty directory. mkdir– Make a directory. ps– Provides a list of currently running processes. cp– Copy a file. mv– Move a file (this is also used to rename a file, “moving” it… Read More

SFTP files upload and download automation in Linux using shell script

SSH File Transfer Protocol (also Secure File Transfer Protocol, or SFTP) is a network protocol that provides file access, file transfer, and file management over any reliable data stream SFTP server default port is 22. sftp command syntax : (man sftp) sftp [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config] [-o ssh_option] [-P sftp_server_path] [-R num_requests] [-S program] [-s… Read More

How to install NGINX and configure as a Proxy or Load balancer server on Windows/Linux machine in simple steps

NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. Download NGINX software. click here to redirect NGINX software download page. Installation and run on window machine: i. Copy downloaded… Read More

Linux File Commands

  File Administration ls [option(s)] [file(s)] If you run ls without any additional parameters, the program will list the contents of the current directory in short form. -l detailed list -a displays hidden files cp [option(s)] sourcefile targetfile Copies sourcefile to targetfile. -i Waits for confirmation, if necessary, before an existing targetfile is overwritten -r Copies recursively (includes subdirectories) mv [option(s)] sourcefile targetfile Copies sourcefile to targetfile then deletes the original sourcefile. -b… Read More