Shell Scripting

9K

Solutions

8

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.

Refine results

Hi Team,

I would like to write a script which should trigger email when server reboots automatically.Please help me out here

Thanks
Vinayak

1114 views
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Hi Experts

I am trying to identify all servers hit when I enter a URL. e.g if I enter http://mysite.co.za/something, this url might first go through a caching server then to application server, I w…

513 views

would like to remove the spaces in a file name.  The spaces can be anywhere in the file name.  

having trouble with this.  it says there is no file

ls -1 | while read file
       do
            newfilename=`…

316 views

Hi - Is there any way to send mobile sms using shell script based on a condition.
 
if [[ $var1 -eq 1 ]]; then
    echo "Run script to send sms to mobile"
fi

when i googled it I got this comman…

216 views

I found this in another question and tried it. However, I'm not sure how accurate it is and I also need a Mbps output.
Can someone edit this for me for the output I am needing.

(CODE)

2929 views

Hi - My other software dumps files in the one folder (example: folderA)
Now I want a script that consistently watch this folder (May be once in 15min) to find new files and compress those new files a…

523 views

Hi,

I need to issue a command to 10 hosts remotely and I was wondering what would be the best way to script it so I wouldnt have run it over and over for each one of them...

I was thinking on ha…

216 views

Hi all. I'm looking for a one liner. or script i can run locally that will pull out data on scheduled tasks on a server and on IIS web sites on the server. Ideally saved to HTML but any format would d…

625 views

Using command line bash on Linux, trying to find a solution which allows sending a file and it's contents, intact with newlines, etc, to another host.  Am finding countless examples and suggestions bu…

614 views

I need to run a script on EMS  to find number of email received and send by a particular group OR USERS

6738 views
Course: MongoDB Object-Document Mapper for NodeJS

NodeJS (JavaScript on the server) is awesome, but some developers get confused about NoSQL when it comes to working in Node with MongoDB (NoSQL database). Do you need a better explanation of how to use Node.js with MongoDB? The most popular choice is the Mongoose library.

Hi Experts,

We are building an automated HAProxy + NGINX environment to host high load web campaigns.
One of the requirements is obviously to know how much traffic each campaign used during the ru…

434 views

Hey

I would like to remove the start menu button from the start menu? (best by script or gpo)



Mike

114 views

Hi there,

I am looking for a way to combine both output lines in a single line, and without using the FOR command.

I remember a long time ago, I think paultomasi or billprew did this but I don`t…

324 views

I have groups containing hosts as follows.

    groupA=(server01 server02 server03)
    groupB=(server01 server02 server03)
    groupC=(server01 server02 server03)
    groupD=(server04 server05)…

219 views

Hello all,
    I am newish to bash and I have been researching and looking at hundreds of examples for a large personal project (especially thanks to my help from folks on here), and I have most of t…

946 views

Hi Team,

I need an help on the unix command, I need to write an single command which will display the number of files in the current directory.
I tried the below command , but not getting the desi…

746 views

When inputing UTF8 characters to "tidy", I get quite weird results for some characters.


(CODE)

In this example, there are a number of characters that get "wierded up" in the tidy handling of t…

1443 views

I want to get list of email users in each AD site. I am running exchange 2007

can I run any command on my exchange or active directory

439 views

I have a Restful web service with a URL like "http://myhost:5000/getname" to return a JSON string like this: (CODE).

Now that I need to use Linux shell to call the web service and parse the returne…

631 views
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

I have no idea how but it seems like a mac telnet client is skipping part of our login script.  We use tcsh and at the bottom of .login I have a section that executes and asks some questions and drops…

1224 views

looking for a script to delete a folder in C:\Windows every 5 minutes. i do have a script but it seems its only successful after the PC reboots

OS : Win 8 & Win 10

635 views

I have currently 20-25 tabs opened in chrome trying to figure this but, but it is probably because I am newish to bash and have only used it a little bit for some specific things. I am trying to make …

1042 views

Please help as i want to validate arguments passed while executing the script .

What i want that user can only give values as parameter those are valid as per script.

./script.sh abc xyz        …

429 views

hi guys,

I'm using a script created by OdBA, which I then modified based on the help I got here. I am merely trying to copy the files from a server share on a domain to multiples of PC's on the sa…

520 views

Hi guys,

I've got a script here that OdBA created for me a while back which was to execute a .msi file from a shared location on our server to multiple PC's using the Psexec command.

Here it i…

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

TOP EXPERTS

view all

RELATED TOPICS view all topics

  1. Linux
    (64,151)
  2. Unix OS
    (32,626)
  3. Scripting Languages
    (26,327)
  4. Perl
    (25,923)
  5. Powershell
    (13,563)
  6. VB Script
    (36,163)
  7. Linux OS Dev
    (8,786)
  8. Windows Batch
    (11,159)
  9. System Programming
    (40,492)
  10. Programming
    (51,776)