Shell Scripting

9K

Solutions

10

Articles & Videos

6K

Contributors

The term 'shell' refers to a general class of text-based command interpreters most often associated with the UNIX and Linux operating systems. Popular shells include Bourne, Debian Almquist (dash), Korn (ksh), Bourne Again (bash) and the C shell family (csh). Some view the DOS 'cmd' prompt as a minimal shell of sorts. It is also possible to install Cygwin on Windows and emulate a full Unix environment with complete shell capabilities. Terminal emulators, such as xterm, GNOME Terminal and OS X Terminal, can be used to access shell.

Related Topics

  1. Linux
  2. Unix OS
  3. Scripting Languages
  4. Perl
  5. Powershell
  6. VB Script
  7. Linux OS Dev
  8. Windows Batch
  9. System Programming
  10. Programming
Refine results

We have a little program that runs an nmap against a few of our servers which is called testnmap.
We want to receive an alert if the service stops running.

Running the following gives the result …

1123 views
Free Tool: SSL Checker
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

I need a specific function just to calculate swap size as per ram like:

if ram < 2048 then swap should be 1.5 times
if ram > 2048 and ram < 16536 then swap size should be equal to ram
if ram > …

627 views

Hi all,

I need to parse http log file  to return each line where specific field is identical

The field to catch is that one just after the GET and which end by jpg  (The requested resource)

931 views

I am getting a value from my file name --   var1=`echo $f | cut -d "_" -f4` and passing this to my awk command

The file it uses is made of a number and a value
( ie..  34567,1234
          …

454 views

Is there a way to run a script in UNIX  that opens 4 extra terminal windows and executes a specific script in each window?

743 views

Hello all,

Can you help me in creating one shell script with command ctmlog LIST yyyymmdd hhmm yyyymmdd hhmm

I want to execute this interval of 10 min.

command format  is given above ( ( …

948 views

Experts,

All my existing servers that are monitored in Nagios are Linux. I now need to add a windows server to the below script.

My server is called backup.future.com and the entry in the …

1334 views

I have a script that we are converting to Autosys from a home grown scheduling tool.

The command that runs in the scheduling tool is:

(CODE)

If I run that in Autosys I get error:
sh: line 2:…

1241 views

Hi all,

I have to  rename some files  as following

varnishSEO1-ddmmyyyy.log to varnishSEO2.log-yyyymmdd

Is there a rapid way to do this?

Thanks for your help

219 views

hello,

actually for all my script, on the code i import a csv file like that:

(CODE)

i need now to execute directly the script from powershell console and give the csv file name like this:

827 views
Enroll in May's Course of the Month
Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Hi all,

I need te nename some files from  file.log-ddmmyyyy to file.log-yyyymmdd.

Is there a rapid way to do this (sed,awk ...?)

Thanks

113 views

Hi all,

I need to split a big log file to some smallers logs files according to date in  original log file.

I want to create one logfile by date  an tar and zip it

each line from original …

526 views

Hi all,

I  need to compare file name with the content of variable and do action if filename is different.
IS there a way to do this with  if statement un bash shell ?

Thank you for your help

213 views

i'm running exchange 2013 / 365 hybrid
i need to be able to see what emails are being sent after working hours
so basically i need to choose a specific week and run a report to see who is sending …

2267 views

Hello,

I have a script that I am using to delete old files off of the system by modified date.  Is there a wild card that can be used in the folder path?

(CODE)
If I run this on a specific …

833 views

i have shell script it run ok , now i want add one command it run every 1hour , how can i do it ?

my Code :

(CODE)

now i want JUST This command run between script every 1Hour  :

(CODE)

441 views

I was looking for a powershell that would download all of my report objects.

I have something that will get the RDL files in a folder structure which is great.

I need something to get it all …

773 views

Using Linux, I would like to put the results of this:
(CODE)

in place of 'hello':
(CODE)

445 views

I have run an Excel macro with this code every day for years.  Today I put it into a .vbs file, and it hangs.  Any ideas what I am doing wrong?

(CODE)

438 views
Free Tool: Path Explorer
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

I have a Proxy PAC file that occasionally has the final proxy in the file changed.

I am creating a simple batch script that needs to extract the current value from this file.

The current code …

448 views

Dear All,

I need a FTP unix script which can take a pipe delimited file and use the details to login to all the different logins and if there is any error then that is caught in a text fie and …

2587 views

I have 2 files that I need to compare and merge. File1 has 3 fields: device_name, status, days_in_cur_status. File1 is the "master status" file.

File2 has 2 fields: device_name, status. File2 is …

554 views

I had this question after viewing modifying VBScript to VBA (https://www.experts-exchange.com/questions/29007038/modifying-VBScript-to-VBA.html).

i have this great master piece created by Bill and …

764 views

Hi Team,

Iam new to shell scripting , Need an help . I have writen an shell script which will check for the file whether it was modified after it was created. If it is modified , then I need to …

1473 views

Hi,

Basically my issue is Autosys jobs keep tripping over each other.  We can't have some jobs execute at same time.   Currently there are 8 .bat scripts that execute via Autosys jobs.  Let's call …

1363 views
Show more content
201506-LO-Top-001

Shell Scripting

9K

Solutions

10

Articles & Videos

6K

Contributors

The term 'shell' refers to a general class of text-based command interpreters most often associated with the UNIX and Linux operating systems. Popular shells include Bourne, Debian Almquist (dash), Korn (ksh), Bourne Again (bash) and the C shell family (csh). Some view the DOS 'cmd' prompt as a minimal shell of sorts. It is also possible to install Cygwin on Windows and emulate a full Unix environment with complete shell capabilities. Terminal emulators, such as xterm, GNOME Terminal and OS X Terminal, can be used to access shell.

Related Topics

  1. Linux
  2. Unix OS
  3. Scripting Languages
  4. Perl
  5. Powershell
  6. VB Script