Questions tagged [shell-scripting]

Programming in an Interpreted language executed by a running Shell

Generic programming in an Interpreted language (as opposed to compiled) executed by a running Shell. Sometimes referred to as "Glue Code" due to the practice of managing the execution and output of one or more compiled binaries and passing said output to another series of commands.

621 questions
-3
votes
2 answers

How to sync windows server folders with a AIX server using script?

Everyday I would like to sync the files and folders in the windows server with AIX server and vice versa. Does anyone suggest me, How I can write a shell or bat script to achieve this?
BioLounge
  • 115
  • 1
  • 1
  • 6
-3
votes
1 answer

Nested directories file restore

I recently took backup of one of my server's drive on AWS using one of the software and now at the time of restoring it i found out it took too long to restore as its having billions of files to restore. I tried to restore it from AWS itself but my…
root
  • 39
  • 2
  • 8
-4
votes
2 answers

What does this shell script mean?

#!/bin/bash /usr/sbin/ntpdate ntp.jst.mfeed.ad.jp I found such a script file,maybe it is used to confirm the time, can you explain it in detail?
-4
votes
2 answers

Check a list of passwords strength

Is there any way to check a list of passwords whether they strong or not? I have a list of passwords, around 2000, and want to check them against this policy Password must contain a minimum of eight (8) characters Password must contain at least…
-4
votes
2 answers

list the identical words from fiel

how can I list the identical words from below file using shell script ? list.txt LT R LT MRTD LT MK RR RR example result : LT R MRTD MK RR
ara
  • 11
  • 1
  • 2
-7
votes
1 answer

Trying to understand linux script

I have this Linux script I found and I'm trying to understand it. Could someone please help me to understand it. The script if [ ! -d "/home/ftp/$PAM_USER" ]; then /bin/su - ftp -s /bin/sh -c "/usr/bin/env mkdir /home/ftp/$PAM_USER" /bin/su -…
George
  • 145
  • 1
  • 8
1 2 3
41
42