I'm getting the proper output, but only for positive inputs. read n g=$n s=0 k= if [ $n -gt 0 ] ; then echo "Not a positive number" else while [ $n -gt 0 ]
I need to list out the files which are created in a specific year and then to delete the files. year should be the input. i tried with date it is working for me
i'am currently trying to unzip some specific files within a ARR file. This ARR file is within a tar.gz file. Is it possible to unzip these files without a inter
Can't find this anywhere online but when trying to delete semaphore arrays and shared memory using ipcrm -m id. I get this error permission denied for id (<i
Newbie to unix/shell/bash. I have a file name CellSite whose 6th line is as below: btsName = "RV74XC038", I want to extract the string from 6th line that i
There is a program developed for linguistic research (http://people.csail.mit.edu/mcollins/code.html). When I try to run the parser using Git bash terminal on W
i want to change multiline string within particular marks that is indented in file, example looks like this: non_important_array: [ text ], impo
I have been given a list of the following check box containing all possible solutions to the question of choosing all true answers equivalent to O_RDWR on Ubunt
Just trying to add new metric to Prometheus through the Postman, but getting text format parsing error in line 1: expected float as value, got "1\r" Metric ju
Note: Question does not duplicate Ignoring specific errors in a shell script . Suppose it is needed to capture the leading characters of a encoded representati
What file do I edit, and how? I created a virtual environment.
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 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