I am trying to connect to Sybase ASE version 16.0 installed at linux server through a windows client. However, I am unable to do so. Please help me with an sql editor that supports Sybase ASE 16.X and Windows OS. Also kindly help me with the steps to connect to the DB in client server architecture. I am new t…
Tag: linux
Do here-strings undergo word-splitting?
Quoting Bash Reference Manual and man bash (version 4.3): [n]<<< word The word undergoes brace expansion, tilde expansion, parameter and variable expansion, command substitution, arithmetic expansion, and quote removal. Pathname expansion and word splitting are not performed. The word should not unde…
Need to run cron job for my php file on hosting server [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question I have php file on my linux hosting server and i want to execute it 2 times a day. Below is …
Why can’t I mmap(MAP_FIXED) the highest virtual page in a 32-bit Linux process on a 64-bit kernel?
While attempting to test Is it allowed to access memory that spans the zero boundary in x86? in user-space on Linux, I wrote a 32-bit test program that tries to map the low and high pages of 32-bit virtual address space. After echo 0 | sudo tee /proc/sys/vm/mmap_min_addr, I can map the zero page, but I don…
fork: child process doesn’t stay in an infinite loop
In the above code snippet inside if statement if we put while(1), it doesn’t remains blocked and when enter key is pressed program is exited, but in case of parent if we put while(1), parent remains blocked until we give ctrl+c. Please clarify this behaviour of child. Answer In the above code snippet in…
Extract Column(s) from text file having Multi Character Delimiter i.e. “%$%”
I have tried different solution for the problem given on the forum but doesn’t work for the specified Delimiter %$%, I need to extract one specific column from the file containing 200+ columns. I tried the following: Answer The symbol $ is a special character in a regex, so you need to escape it with a …
Bug while checking for symbols inside of a string?
I’m creating a small calculator script and I’ve got stumbled on a strange bug. Everything seems to work but not when I input anything starting with (. When I do that if gives false and the code inside of else executes. I’ve tried a lot of ways rewriting how should “$input” =~ [-,…
Linux piping data containing backticks
I’m piping output from one command into a second: mpc listall returns the following data (can output 1 or more lines): When piping it into the next command, it seems that my shell (Ash on BusyBox) converts the ´ into an asterisk, as I get the error Manually adding double quotes works! like this: So, I t…
shell script to use cl1p.net online clipboard in linux – Error (23) Failed writing body [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
VS Code will not build c++ programs with multiple .ccp source files
Note that I’m using VS Code on Ubuntu 17.10 and using the GCC Compiler. I’m having trouble building a simple program which makes use of additional .ccp files. I’m probably missing something obvious here as I’m fairly new to programming but I’ll explain what I’ve done so far…