I have a shell script located at "/home/pi/scripts/take-snapshot.sh" but when ever I try to execute it I get a error that the file is not present. the following
I would like to put a prefix, like "GDB> ", on every output from gdb to distinguish it from the output of my program. Is that possible? An example: test.c #i
I'm taking a course on computer structure and I'm lost. I was given the following file: Hello.s: #This is a simple "Hello World!" program .section .rodat
Visual Studio Code does not seem to display Persian or Arabic scripts nicely in the terminal window. I can confirm that on Linux, but not sure about macOS or Wi
as title says I need to write a bash oneliner that finds all txt files and, for each, writes name and content into another file. So far I wrote: find . -name "*
The code below is wrong for at least 2 reasons. I'll be rewriting this in assembly so I'll need the solution to be only linux system calls. What I'd like to do
When running Broadway back-end, the default tab name is "broadway 2.0". I wish to change this to something more meaningful but I'm running into a couple of dead
txt with more than 30000 records. All records are one for line and is an IP like this: 192.168.0.1 192.168.0.2 192.168.0.3 192.168.0.4 192.168.0.5 192.168.0.6 1
Is it possible using sed to replace the first occurrence of a character or substring in line of file only if it is the first 2 characters in the line? For examp
I have this line in a file. The blanks between the words can be tabs or spaces #define FN_AUTO_FN_FNSECTOR Function(2) /* FN_ comment*/ and I wanted outp
I want to use KCOV (code coverage for fuzzing) in the Linux kernel to record the coverage of certain system calls. I have enabled the corresponding kernel conf
i wanna understang why these three commands not always return the same jdk. In the third request, the jdk is not the same. 1- when i launch this command java -X
I'm very new to all of this so I'm kinda stuck... How would I restrict access to my server to a limited amount of user agents (using mod security)? Also how wou
I have a vue js app, which i run it locally with npm run serve command. I am trying to run it in a development linux ( RHEL) box with pm2 library, but it doesn'
I installed the Nginx server on kali linux and I manage to access it by entering localhost in the browser. I then installed Adminer in order to graphically mana
I have upgraded from PHP 5.3 to PHP 7.2 and the application is working. now I want to upgrade to PHP7.4, when I run the command './configure' '--prefix=/logi/ph
Trying to create a GO function that produces the same result as the Ubuntu Linux "cksum" operation, for example: $ echo 123 > /tmp/foo $ cksum /tmp/foo 23306
I have been going back and forth searching why and how to fix this particular problem regarding Vscode freezing up my whole working space including the host, wh
parent: volatile int signalval = 0; void signal_handle_c(int sig_num) { printf("child SIGUSR1 ok\n"); signalval = 1; }; int main(int argc,char**argv){
I installed MySQL server using a standard source distribution (mysql-server-8.0) according to this url: https://dev.mysql.com/doc/refman/8.0/en/installing-sourc