Explore Shell Scripting on Experts Exchange

Expert Solutions for Your Tech Problems

Shell Scripting

The term 'shell' refers to a general class of text-based command interpreters most often associated with the UNIX and Linux operating systems. Popu...

Read more
  • 10K Content
  • 3.3K Contributors

Expert Spotlight
Topic Advisor

Apple, BPI, Debian, EE, Hardware, MBP, Oracle, SQL, RPI, Scripting, Testing, Tibco

Troubleshooting Solution

CVE-2021-3156 sudo vulnerability: details & workaround

bysunhux
15
Vulnerability affects Sudo legacy versions (1.8.2 to 1.8.31p2) and all stable versions (1.9.0 to …
Article
Mouse Trap

Advanced DOS batch pitfalls

byQlemo
14
The following is a collection of cases for strange behaviour when using advanced techniques …
Video
Post

If you ever want to play bash on hard mode, install suicide …

2
If you ever want to play bash on hard mode, install suicide linux. It sudo rm -rf / 's your machine …
Troubleshooting Solution

shell script / bat :  how replace string having  special chars using sed or other option in unix.

bymac_g
26
how to replace string  below - example with

 how to simply this process using shell script or batch …
Troubleshooting Solution

script to copy previous day files

85
I have a BES server that generates log files daily. Each day' s log files are in their own folder …
Troubleshooting Solution

Need to remove extra pipes from a column

bynQuote
78
I have a text file with 4 columns where the columns are delimited by a pipe character. The 3rd …
Troubleshooting Solution

search in bash

11

How to search files with extension.

what i need is a bash example to show how to search all files

Troubleshooting Solution

shell script to create partitions on linux

3

I want to partition Amazon Linux 2 (similar to RHEL 7 or CentOS 7) server using shell script. I also

Troubleshooting Solution

linux command for adminstration

60
hi,

in redhatl linux and AIX unix, how to use command to check:

1) CPU used ?
2) RAM used and…
Troubleshooting Solution

Using Powershell to delete lines of text and keeping specific text

byE=mc2
7

I would like to use Powershell to look through a .txt file and do the following.

1. Delete any lines

Video
Troubleshooting Solution

Shell script question

26
I want to use sed command to grab some text file but not working.



Troubleshooting Solution

re-structure a csv file and output a new file

65
I have a CVS file with thousands of lines and columns. I need to focus on column AM named or any …
Troubleshooting Solution

Why the same bash script not working in SuSE SLES 15?

3

This is using SuSE Enterprise Server 11. This is bash script and it works fine. However, when the

Troubleshooting Solution

What is the purpose of "/dev/tty" when using the less command?

47
First I create a regular file with some contents (manual page of find command):

man find > …
Troubleshooting Solution

shell script :   grep command getting error  with --grep: =: No such file or directory

bymac_g
6
# grep -B 0 -A 0 ${var2} *.$ext   2>&1 | tee temp.log

var2 value is --- a complete string from this …
Troubleshooting Solution

Identify Special Char in JAVA and Shell Scriipt

61
Hi Experts,

Could you help me how to find below special charcters "" in JAVA and …
Troubleshooting Solution

shell script : find and replace using sed .. not reflecting when using parameters to sed

bymac_g
7

===== shell script tt.sh =============
var1="(CMANAGER_NAME = GOOGLE.WORLD))"
echo $var1

Troubleshooting Solution

search only the lines of a file containing the string "test"

bybibi92
5
Hello,
How is it possible to search only the lines of a file containing the string "test" and to …

Do more with Experts Exchange.


Get Answers

Join a Group Discussion

Collaborate

Monitor your Site

Explore solutions and more