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 months ago. Improve this question Screenshot of my users i am trying to count total amount of users that i created in linux. I found out a script that works,
Tag: unix
How to compare the columns of file1 to the columns of file2, select matching values, and output to new file using grep or unix commands
I have two files, file1 and file2, where the target_id compose the first column in both. I want to compare file1 to file2, and only keep the rows of file1 which match the target_id in file2. file2: Any help would be appreciated. % grep -x -f file1 file2 resulted in no output in my terminal Answer Sample data that actually
How to use SIGALARM in rust?
I have a problem using alarm from nix library in rust. I am trying to communicate two child process with alarms, the exercise consist in send a signal to child process to other every two seconds, and retun it with pipe. When I run the code it still waiting and I can’t see the message. This is my code: Thanks!!!
dont understand Linux command
I’m working on existing php project and I’m totally beginner with that . I ‘m trying to understand this line of code . I’ve searched alot and I know that exec is used to run unix command . But I don’t understand the first part /usr/local/sbin/clog ‘/var/log/filter.log’ I also dont understand | meaning here also I don’t understand this part
How can I add an IP address in a AWS CLI with out exporting
I am running below command to ingress in aws-cli, it is working fine if I provide an IP address, but I want it to know the IP and pass it. I was trying something like below but it is not helping If I am doing below then it works but I want it to be done by above way. Answer
How echo grave accent symbol in bash
(_ is input, i think) Answer Escape the grave accent. It’s special to the shell and is one way (the archaic one) to do command substitution. As noted by @dave_thompson_085 an alternative is to use single quotes in lieu of the double quotes you used, or to specify the hexadecimal representation of the grace accent, by doing echo “x60”. You
sub URLs to my website not loading on Linux, Azure and Nginx – 404 not found [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 11 months ago. Improve this question Can someone please help on what the issue is here. I have a React web app hosted on Azure Web App.
sqlplus query + loop on linux
I have pratically 0 experience on unix and few on mysql and I am finding hard where to start to complete this task, I have to write a .sh file to launch once a day. I have a table on OracleDb where I have 2 columns I need: path and file_name. Once I get the results, I should loop through
can i delete nohup.out, Because it stopped writing?
I executed a python code in the AWS Lightsail linux server in the background It contains 5M Records insertions and I added logs after every insertion. I don’t see log output after 852. I Can see my process is still running the background If I delete the nohup.out file will it recreate the file with new Logs? How can I
How can I change my shell every time I log in to bash by editing .cshrc file? [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 Exchange site, you can leave a comment to explain where the question