Unix command to find a file in a directory and subdirectory

I think I lost (or forgot the file location) a file named toms-first-birthday.mp4 on my Unix based system. Is there is a Unix bash shell command to find a file called “toms-first-birthday.mp4” in a directory…

How to use/run bash aliases over ssh based session

I have set up a bash alias named file_repl. It works entirely when I log in using ssh command. However, my bash aliases are not running over ssh, for example: $ ssh vivek@server1.cyberciti.biz file_repl bash:…

How to add ssh key to qcow2 Linux cloud images using virt-sysprep

I have installed and setup KVM server on an Ubuntu Linux. I downloaded various .qcow2 cloud images. How do I setup public ssh keys for downloaded CentOS/FreeBSD/Ubuntu cloud images using virt-sysprep?   You need to…

How to exclude file when using scp command recursively

I need to copy all the *.c files from local laptop named hostA to hostB including all directories. I am using the following scp command but do not know how to exclude specific files (such…

How to check list of users in Unix

I am a new Unix system user. How can I view system users in Unix operating system using the command line option?   The password file /etc/passwd contains one line for each user account. The…

How to set up SSH Keys on Linux, keys that are a secure solution for logging into a virtual server or a dedicated Linux server

What are SSH Keys ?! SSH keys are a secure solution for logging into a virtual server or a dedicated Linux server. Unlike the use of the password to crack the ssh key with the Brute Force…

How to install LAMP [Apache, MySQL, PHP] in CentOS 7

Installation of PHP, MySQL and Apache on LAMP Linux. By installing the services listed above, your server will be ready to host your desired website or application. Installing LAMP Although the operation is very easy, managing…

How to backup a database using phpmyadmin?

How to backup a database using phpmyadmin ? Backing up your database in phpmyadmin is accomplished by doing the following: ۱) Once you have reached the phpmyadmin screen, select the database you want to back…

How to add/create parked domain?

How to add/create parked domain? To add a parked domain, please do the following: ۱٫Login to cPanel and click the Parked Domains icon. ۲٫In the box to the right of New Domain Name, provide the…

How to change the root password in cPanel?

How to change the root password in cPanel? The following article explains how to change the root password for cPanel. Please keep a record of the new password. To change the root password, please follow…