Tag Archives: linux

How to change default port for SQL Server on Linux

https://www.mssqltips.com/sqlservertip/4730/how-to-change-default-port-for-sql-server-on-linux/ Problem Microsoft released SQL Server to run on Linux servers. To secure the database environment, DBA’s often change the SQL Server port from its default port 1433 to another available port number. In this tip we will see how … Continue reading

Posted in linux, sql.server | Tagged , , | Leave a comment

How do I check if file exists in Makefile?

The second top answer mentions ifeq, however, it fails to mention that these must be on the same level as the name of the target, e.g., to download a file only if it doesn’t currently exist, the following code could … Continue reading

Posted in linux | Tagged , , , | Leave a comment

Ubuntu Install bash

https://ubuntuforums.org/archive/index.php/t-499045.html Run from a command line: dpkg -S /bin/bash to see what package create the link (i doubt that the link it’s part of any package anyway… maybe dash create it by default if bash it’s not installed) You can … Continue reading

Posted in linux | Tagged , , , | Leave a comment

Korn Shell: Unix and Linux Programming Manual, Third Edition, The

Korn Shell: Unix and Linux Programming Manual, Third Edition, The by Anatole Olczak Publisher: Addison-Wesley Professional Release Date: January 2001 ISBN: 0201675234 Topic: Shell Scripting https://www.safaribooksonline.com/library/view/korn-shell-unix/0201675234/

Posted in linux | Tagged , , , | Leave a comment

Difference between elif and else if

What is the difference between “elif” and “else if” in shell scripting? https://superuser.com/questions/827958/what-is-the-difference-between-elif-and-else-if-in-shell-scripting

Posted in linux | Tagged , , | Leave a comment

Tab in make file

Issue: Makefile:1: *** missing separator. Stop Explanation: It’s a tabs problem. Some text editors may replace tabs with white spaces, make sure you use a proper text editor that doesn’t mess it up. Open your makefile in vi or any … Continue reading

Posted in linux | Tagged , , , | Leave a comment

What is the difference between := and += in make file?

:= (Simply Expanded Variable ) The value is scanned for once and for all expanding any references to other variables and functions, when variable is defined. e.g. x:=foo y:=$(x) bar x:=later so above is equivalent to y:=foo bar x:=later += … Continue reading

Posted in linux | Tagged , , | Leave a comment