Skip to content
Advertisement

Tag: ubuntu

How fork() function works in this program?

I’m having some trouble with this program. I know what a fork() function does. It is used to create a new process from an existing process. The new process is called the child process, and the existing process is called the parent. The parent returnes the child’s pid and the child returns 0. That said, I find hard to understand

How to remove Ubuntu entries from UEFI [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

How to trap memory reads and writes using sigsegv?

How do I trick linux into thinking a memory read/write was successful? I am writing a C++ library such that all reads/writes are redirected and handled transparently to the end user. Anytime a variable is written or read from, the library will need to catch that request and shoot it off to a hardware simulation which will handle the data

Bash : Syntax Error Near Unexpected Token `’table_name’`

I’m getting started learning Laravel 5 in Ubuntu 15.04. So, I’m done creating my database but when I’m trying to insert data using Terminal, I’ve got some error that says Here’s my terminal inputs in my laravel app directory It’s just an simple queries on adding datas inside my database but I can’t get through this thing. Is there any

command blkid don’t show my partitions UUID

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 installed and also I can see man blkid !!! Could you guide me to fix this? Answer Run sudo blkid After that you will be able to get the same result with simply running

C: Trying to implement unnamed pipes

I’m trying to make a program that simlutates the terminal’s nameless pipes. For example, if I want to run the command: ls –l | grep ‘10’ would be: ./pipes ls -l – grep ’10’ (I use – instead of |). However, my program doesn’t work because execvp fails (bad adress). This seems impossible to me. What am I doing wrong?

How to remove python in /usr/local/bin/ [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

How to enable confirmation alert when using ‘rm’ command to delete files / folders? [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

Advertisement