Remove a space in front of word or words in a file
Script to remove space in front of a word in a file? Just use this command to remove the space in front. cat filename |cut -d”:” -f2 |sort | sed -e ‘s/^[ \t]*//’ Now...
Script to remove space in front of a word in a file? Just use this command to remove the space in front. cat filename |cut -d”:” -f2 |sort | sed -e ‘s/^[ \t]*//’ Now...
Hello, Is there any way to decrypt “Cpanel password. I know that the cPanel user is listed in “/etc/passwd” and password is encrypted in the “/etc/shadow”. If some one forgets the password the only...
Hello,I want to create a bash script that upon invocation shows the time and date, lists all logged-in users, and gives the system uptime. The script then saves this information to a logfile.I have...