Skip to content

Tutorial Guruji

Online Free Tutorials Guruji Guide & Materials – Solved Questions Answers

  • Home
  • Tutorials
    • Java
    • DBMS
    • Linux
    • for loop
    • Bitcoin Transaction Fees
    • Mathematics Real Analysis
    • Shell Script
    • Bitcoin Core
    • Bitcoin Security
    • Grammar
  • About Us
  • Contact Us
Home » shell

Tag: shell

Avoid control sequences(like ^[[C) from C or C++ standard inputstream

C++ March 31, 2021

Code: #include #include using namespace std; int main(){ string s; cout << "Enter a string : " << endl; cin >> s; cout <&...

mysql script in shell using variables

DBMS March 15, 2021

I would like to use mysql syntax in my shell scripts with variables, what am I using wrong ? #!/bin/bash mysql -e “select * from table where something = &1” and I’m …

PHP only able to kill process when run in cli

PHP March 5, 2021

I have this php script “start_stream.php”, which starts a process (ffmpeg) using proc_open() and then stays in a loop checking for a keep-alive signal. Once the keep-alive signal is too old, …

How to convert .properties to linux env export file

Python August 10, 2019

We have properties file as follows and used for java, need to convert the same to linux varaibles including substitues on right side of =. installation.location=/tmp ClusterName=demo product.names=…

How to redirect program error to a file while using pipes

Shell Script April 11, 2019

I’m running a command on a Linux machine to backup my DB: (echo “`date`: START DUMPING”; db_dump.sh; echo “`date`: DONE DUMPING”) >>db_dump.log And in the db_dump.sh: pg_dump -v –dbname=mydb …

Detect whether current shell is powershell in python

Python April 9, 2019

What’s the recommended way to check which shell is my python program running inside? I know I can query os.environ.get(‘SHELL’) for the shell name, but what can I use to determine powershell?

Converting a working command into shell script file which gets arguments

Shell Script July 29, 2018

Hi my working command is: grep -l “my text” file*.ext|xargs ls -lart this command is very useful for me and I wanted to create a shell file which does it with fewer typing, like this: fn “my text” …

Issue with Bash Script creating Directories from Arrays

Shell Script February 26, 2018

Issue at hand I am trying to write a bash script to quickly create a directory structure. This is an attempt to learn more about manipulating arrays, variables, and using loops. My script works to …

Count number of times that each API version shows up in log file [closed]

Shell Script February 22, 2018

Develop script which receives data from localhost on port 33001 and finds how many times distinct API version is requested and print it on a screen. Sample log is: 172.32.11.121 736443 /api/2.3 98….

How to get the wifi working with r8188eu driver on my raspberry pi?

Linux October 24, 2017

Hy there, I am having problem in connecting my raspberry pi to a wifi dongle. I have followed a lot of tutorials from internet but no success so far. My WIFI dongle can scan the networks but it’s not …

Posts navigation

Page 1 Page 2 … Page 4 Next page>
Skip to footer

Recent Articles

  • method to prevent “divided by zero-error”
  • Use az webapp deployment source to deploy code from git but when the app is in a git repository subfolder
  • How to drop duplicates in a data frame and keep first with two exceptions?
  • Don’t understand cause of this KeyError in pandas Series
  • Simple Game Inventory

What You Want To Learn?

  • Android
  • AngularJS
  • Bitcoin Core
  • Bitcoin Exchanges
  • Bitcoin Security
  • Bitcoin Transaction Fees
  • Bitcoin Transactions
  • C#
  • C++
  • DBMS
  • for loop
  • Grammar
  • HTML
  • Java
  • JavaScript
  • jQuery
  • Linux
  • Mathematics Real Analysis
  • Node.js
  • PHP
  • Python
  • React JS
  • Shell Script
  • Travel
  • WordPress

Contact Details

Web: tutorialguruji.com
For Advertisement - Contact Us Today.
Tutorial Guruji