Quantcast
Channel: bash – ServerNoobs
Browsing all 5 articles
Browse latest View live

HowTo Run a Script In Linux

How do I run a Linux shell script? How can I run a script in Linux? By default script will not run. You need to set execute permission for your script. To execute or run script type the following...

View Article



CVE-2014-6271 – Critical BASH vulnerability discovered (Shellshock)

Critical BASH vulnerability discovered – update BASH on your CentOS Linux server!!! ## Shellshock vulnerability ## Summary >> A critical code execution vulnerability (Remote) affecting bash (Unix...

View Article

Linux: Bash Find Matching All Dot Files

A dot-file is generally any file whose name begins with a full stop. In Linux it is also called as hidden file. How do I list all dot files in my home directory? You can use the ls command to list all...

View Article

DOS-to-UNIX file conversion

Using Perl: # WARNING! For UNIX only! Do not use with ActivePerl in MSYS shell on Windows! # (Returns error message and file is deleted.) perl -pi -e 's/\r\n/\n/g' filename Using sh or bash: Works fine...

View Article

Bash Scripting Basics: Part 1

If you have been using computers for a while, whether you have been using Unix, Windows or Mac operating systems, you’re probably already familiar with the term shell. A shell is piece of software that...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images