Shell Scripting

9K

Solutions

9

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 folks.

I am in need of some help to parse a file named input.log  It basically looks like this:

Server:            200.200.200.200
Address:      200.200.200.200#53

** server can't find …

1144 views
Live: Real-Time Solutions, Start Here
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Hi Expert

How to write a power shell script to update Ip address, DNS and gateway for 30 new virtual servers .

Please note we are running on windows 2012.

Thanks

223 views

I have a grep statement that would like it converted to perl or phyton

The issues was :

need a way to to read a file that's in csv format ( keeping in mind the header)  like so:

Country      View…

639 views

I have Included the script.  This is a new install but the access_log is real and has values in it.  This script works on another instance without any problems.  The script reads the access log and …

653 views

How to search a specific mailbox rule name in all mailboxes in Exchange 2010?

1155 views

I have seen lots of people use a small LED strip plugged in the USB and controlled by a script, and I have seen a lot of people have a big LED Strip plugged into the wall and controlled via a Remoted …

126 views

Hi

I am using the below to generate a list of databases from a database server based on selection from list box:
(CODE)

Please see the populatedblist2 function, I am able to get the list of …

662 views

Hello,

I use rhs from a Linux machine to execute some .cmd script on a remote machine. That script runs fine (remote ...), but I miss a way to retrieve the script's output and exit code.

The …

1340 views

Hi,

I have a list of users in file and I need to remove them of a specific mailbox. I know I can use this PowerShell cmd:

Remove-MailboxPermission -Identity shared-mailbox -User user-alias …

445 views

How do i write a shell script to delete all files  expect latest timestamp file in particular directory?

753 views
Courses: Start Training Online With Pros, Today
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

As I understand it, some SIP phones and conferencing equipment has built in connection quality analysis but in this case, nothing being used seems to have such capabilities I'm told. That isn't the …

851 views

If I write a function into my PS script, does the function have to proceed any attempts to call the function in the script.
I would like to put all my functions at the end of my script for good …

639 views

I have a shell script that I use to analyze my log files and it works great on the access_log file because the timestamp is in this form.
(CODE)

Currently, my error_log file is in this form and I …

2471 views

I have a list of EmployeeIDs in a CSV or TXT file.

Each employee has a unique EmployeeID.

I need some help/suggestions on running a script or command that can query the CSV and delete those AD …

1146 views

I am working  Linux server using Shell Scripting and executing the commands on multiple Linux servers using SSH but I am not able to fetch the output in the text file. Please, help me out.

55135 views

Hello Team,

Whenever i run any script in powershell, it works well. but after 20 30 minutes it prompted for credential.
so i think it is due to sometime out is set for Powershell. when i close and…

345 views

I copied all files into one directory. I want to run this command against all of them:

tkprof NAMEOFFILE.trc NAMEOFFILE.txt explain=apps/password sort='(prsela,exeela,fchela)'

NAMEOFFILE would …

331 views

Hello Experts,

To test HA if I stop keepalived the KeepAlived action does run the notify  shell script but does not disassociate and reassociate EIP to another instance. I can see the VRRP changing…

2381 views

Hi, I am trying to figure out a scheduler task I can inject via group policy that will run as follows:
Will run daily and do the following:
Check the system uptime and if uptime is greater than 14 …

1247 views
Gigs: Get Your Project Delivered by an Expert
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

So my script does many things and it does them rather fast thanks to all that have helped out over the past two days.  I would like to pause the script and allow the user to hit Y to continue is this …

940 views

I'm in a Windows 7 environment, connecting to HP switches using ProVision.

We connect to the switches using Putty and either Telnet or SSH.

I'd like a Windows PowerShell script, maybe using WMI …

346 views

Monthly once we need to zip the log files, which are older than the current date

844 views

I want to severly shorten a routine command that my group uses all the time.  This command really a perl script takes several parameters, e.g.

    GenDbxSchem.pl  -user X  -rel 4.0.0.-ER5.6A  …

554 views

I have a simple batch file that gave me an error that never happened before.
I've been using the script for about 3 years without any issues until now and I don't think anything changed.

Here's …

546 views

We have many machines 40+ and their names are changing all the time.  We have one host inventory file called HostInv.  That is always updated when machine changes names.

My script currently uses …

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

TOP EXPERTS

view all

RELATED TOPICS view all topics

  1. Linux
    (64,642)
  2. Unix OS
    (32,732)
  3. Scripting Languages
    (26,516)
  4. Perl
    (25,977)
  5. Powershell
    (14,560)
  6. VB Script
    (36,399)
  7. Linux OS Dev
    (8,814)
  8. Windows Batch
    (11,337)
  9. System Programming
    (40,530)
  10. Programming
    (52,030)