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 Experts,

Hope everyone is well?

Is there a way to append a file from a Linux Command Line, Basically I need a fully automated way to do the below from a script, and it to be fully automated .…

349 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

Im trying to run a shell script on a cron (Ubuntu 16.01) which iterates all files in a folder, and checks that their last modified time is greater than 5mins. I think last modified time is one of the …

515 views

Hello Expert,

What I am trying to do is for AWS EC2 instances, I am planning to list instances as per a specific tag and find the volumes and then tag those volumes with a specific tag (Name=SSVD)…

212 views

Hi,

i activated in my gpo the point "only allow certain applications". there are inserted a few apps (winword, explorer, cmd). But i need a script running at logon (not at startup). So if i activat…

211 views

I have a very restricted computer on which only a few applications are allowed. Batch and the cmd shell is of course prohibited. How can I still run a cleaning-batch when logging off by using the gpo …

324 views

On AWS CLI, I have a script to get the instance details, There are many ways we can generate the instance information I preferred to chose "JQ", Here is the script

I am not able to figure out the i…

326 views

Dear Experts,

I need a script do a series of things for each line read, but those line are not in a separate file but would be inside the same script in a "data" section at the bottom of the script…

731 views

Hi Experts

Background: Customer has been using a folder syncing tool that has not worked for many weeks. The tool was (supposedly) keeping in sync a set of files & folders between several computers…

943 views

Need example of bash shell script wrapper to not allow SQL*Plus command to be executed on command line as:

      sqlplus user/password@ora12

Need to prevent user from entering plain text passwor…

434 views

Is it possible via some login script to look and see what the user have setup as their home page?  If the default homepage is as followed then replace it with as followed?

Example default homepage …

811 views
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

I need a robo script to move a file from this server's location to another.  We use Roboscript.  This is an FTP server and the file is sent to us everyday to the ftp directory.  I want to script the f…

1032 views

I'm working on a bash script to unrar 10 to 20 directories containing rare files, I however want all extracted files to remain in the directory where the rar files reside.
I have the below working ok…

747 views

I have an Access application that opens a Word document using this code:

x=Shell("C:\Program Files (x86)\Microsoft Office\root\Office16\WINWORD.EXE C:\Test\Test.doc",1)

This works fine for all m…

1141 views

Hi EE
could you advise what is the best way to split attached sample file into 3 columns and output into a csv file in bash pls

Few lines from sample content
Oct 28, 2016 9:14:08,906 AM /job/CBD_…

227 views

Is there a way to use a batch file / script to delete files and / or folders from a file server EXCEPT if the files are within a particular folder:

E.g.   Folder structure is like:

E:\Storage\

1125 views

I am trying to setup HA Proxy and KeepAlived in AWS using the following article http://www.devopstech.com/haproxy-failover-keepalived-aws-ec2/

The master script in the article is for EC2-Classic an…

625 views

Hi,

I am looking for unix program to search some keywords(say "hello", "world" etc) in side EAR file (say xyz.EAR) which has a  WAR file(say abc.war) and has JAR files(like def.jar, ghi.jar).

I …

1050 views
AdventureTime

Utilizing an array to gracefully append to a list of EmailAddresses

0143 views

Working in Access, I have a process which saves about 200 individual PDF reports to file and merges them together into a 275+ page document (using FTPtk), or at least it should.  Unfortunately, it is …

926 views
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Hi Experts,

I'm wanting concise way to get the "real" figure from the output of the "time" command.

Here's what I've tried:

$ time sleep 5
real    0m5.001s           <= This is what I want t…

1674 views

I use nmap.5.51 becouse for this old version works perfect,ok so i found this 2 scripts on internet wich scans random ip's and filters clean Ip's

Scanner.bat
(CODE)

The second script is RDP.NSE…

1374 views

Hi,

I’m using ZIP on the Linux command line.
I would like to unzip those files in a Windows machine including MS-DOS Path

Eg.
zip –jq /tmp/test.zip /tmp/files*

Double click ZIP file under …

357 views

Hi All,

I have a folder on ftp where all the files sit i just want to pick all the today's dated files.

Currently i am using this (CODE)

now you can see i have to change mget A20161031*.* to …

1436 views

Dear experts,
I have a csv file to process, for each column for each record there is to check if a certain pattern is found, if the pattern is found the pattern itself and the next n (staic value) ch…

628 views

Hi Team,

When i hit spacebar in vi/vim editor it is showing the strange character as below. i.e.  Â·
Please help me how to resolve this?

  1 --- # test yaml
  2 - hosts: test
  3 ··
  4 sd…

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

TOP EXPERTS

view all

RELATED TOPICS view all topics

  1. Linux
    (64,364)
  2. Unix OS
    (32,678)
  3. Scripting Languages
    (26,419)
  4. Perl
    (25,947)
  5. Powershell
    (13,988)
  6. VB Script
    (36,267)
  7. Linux OS Dev
    (8,799)
  8. Windows Batch
    (11,255)
  9. System Programming
    (40,503)
  10. Programming
    (51,882)