I have been executing my Golang code on Visual Studio in the terminal for the past few weeks. All of a sudden I am trying to run a program I made, and it does n
I need to download an excel spreadsheet from Onedrive shared location to our unix server using WGET or CURL. I am able to download an un-protected link without
I have a dynamic sql file in which name of TBCREATOR changes as given in a parameter. I use a simple python script to change the TBCREATOR=<variable here>
I am quite new to network programming and have been trying to wrap my head around this for quite sometime now. After going through numerous resources over the i
I'd like to know the meaning of the alert message that occurs in the Linux time zone. timedatectl Warning: Ignoring the TZ variable. Reading the system's time
Previously, I have been using Python 2.7. If I installed a module using pip, it would place the module in /usr/local/lib/python2.7/site-packages. Then, if I wer
I am working in linux environment as a non root user. I am using users command to get the logged in users users But it returns the user names multiple times
I'm following this guide on virtualenv for Python and have run into a little problem: Sahands-MBP:empty sahandzarrinkoub$ source /usr/local/bin/virtualenvwrapp
In my bash script, I run through a list of directories and read in the size of each directory to a variable using the du command. I also keep a running total of
After typing whatever that I need in VI, i wanted to save it to a file with :wq filename. But if I have type in the wrong filename , there is no way for me to
I'm using Ubuntu. command blkid or blk /dev/sda2 in LPIC-1 module 104.3 (mounting and unmounting). but these commands don't show me the expected results. blkid
Is the default separator only space for awk?
I want to thank you for helping me my related issue. I know if I do a cat /proc/meminfo it will only display in kB. How can I display in MB? I really want to us
I have two folders with some common files, I want to delete duplicate files from xyz folder. folder1: /abc/file1.csv /abc/file2.csv /abc/file3.csv /abc/fil
I need to select two MSISDN values from OMO account Migration logs and print the ones that do not match. [2019-03-11 04:15:08 INFO-SUBAPP ESBRestClient:117] ##
I am trying to open cron editor using command crontab -e but I am getting error fclose: There is not enough space in the file system. Any help would be apprecia
Reading a Unix Domain Socket file using Python is similar to an ordinary TCP socket: >>> import socket >>> import sys >>> >>&g
I'm looking for a way to remove the indentation of a piped text. Below is a solution using cut -c 9- which assumes the indentation is 8 character wide. I'm loo
How can I fix this default sorting behaviour for ls in the macOS Terminal? I want the results to be case-insensitive and alphabetised. Here is an example to il
I have a Python program which does the following: It takes a list of files as input It iterates through the list several times, each time opening the files and