Skip to content

Search output of p4 command

I am trying to perform an action depending on the output of perforce commands. But it seems that pipping and greping/acking the command doesn’t appear to pickup the output e.g. Further example of what i’m trying to do: Is there anyway to read the output of a perforce command without having to writ…

How do I install a specific version of a git commit library in Linux?

How to install a specific version of git commit in Linux? When any program requests for the library it should take from the installation. Eg: The following version of wiringPi is required by one of my c++ program. Answer Add a checkout statement after you clone? Eg: Then you type the build and installation co…

moving files between folders not working

i’m trying to move more than one million files from one folder to another using a script but i’m not getting any results i.e no files moved and i did not get any errors,the script checks if they are more than 20 records in a folder and it moves them in another specified folder,here is my script. a…

How to install the boost through its source?

I use the wget download the boost.1.65.1, but I don’t know how to install it: I have uncompressed it: and I tried to make install it, but failed. Because I cd to boost_1_65_1 then use ./configure –prefix=/usr/local/boost.1.65.1 but says there is no configure: So, how to install the boost? Answer F…

How can i add linux bash script file into terraform code?

My requirement is I need to create 3 aws instances using terraform and run a 3 different bash scripts in it. All files are on same server. I already have terraform code to create an infrastructure and 3 bash script ready to use. this is my terraform code to create an AWS instance But i am not sure how i

How can I auto-login with the latest Raspbian Stretch Lite?

I have read many questions regarding this, but none that I have seen had helped me. I want to sign on to an account on boot automatically, for example, username: user; password: password. How can I do this? Answer I made this file: /etc/systemd/system/getty@tty1.service.d/autologin.conf And put this in it: Gi…

Linux Bash script isnt printing out correctly

GOAL: My goal in this assignment is to create a script that will take in a student id as an input and will output a matching student’s name OR an error message saying there is none by that name in this class. Im fairly new to Linux and it is kinda tough for me but I would love all the