How to split a big tar file in smaller size ?

  Here is the well known command to split the larger files into a smaller size. Command is, spilit -b 1024M (block size) source_tar_file small_file.tar-PART1 Example: Consider i’m having a 2.6GB tar file and need to split the file as a 1GB. See below, [root@Server]# du -sh tallylog.tar 2.6G tallylog.tar [root@Server]# split -b 1G tallylog.tar tallylog.tar-part1 [root@Server]# ll | grep…

Read More

How to reset a user password without using passwd command?

Commonly in Unix systems, we have to use passwd command to reset a users password. Example, How to reset a password for the user bob in a common method using passwd command. [root@server~]# passwd bob Changing password for user bob. Enter new password: Re-type new password: passwd: all authentication tokens updated successfully. [root@server~]# Now, How to reset a password for…

Read More