What is a “loop device” when mounting?
I am mounting an ISO file, and looking at this tutorial. They use the command:
I am mounting an ISO file, and looking at this tutorial. They use the command:
I would like to have a log file that contains an entry for every time a user runs any suid program, containing the user name, the program and any command line arguments passed to it. Is there a standard way to achieve this on Linux?
so i change my MAC address with macchanger -A wlp68s0b1 at boot with crontab,
here is what happens when i disconnect and reconnect :
I have a bash script that makes a cURL request and writes the output to a file called resp.txt. I need to create an exclusive lock so that I can write to that file and not worry about multiple users running the script and editing the text file at the same time.
$ k=v p & [1] 3028 is there any way for p to change the contents of /proc/3028/environ to not mention k=v while p is still running? Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them … Read more
I’d like to know if there is a way that I could cat file like php.ini and remove all lines starting with ;
I’m going through this book, Advanced Linux Programming by Mark Mitchell, Jeffrey Oldham, and Alex Samuel. It’s from 2001, so a bit old. But I find it quite good anyhow.
I have this setup where I have computer with ssh and a display where I have a user logged in to terminal. What I want to do is send commands like I was using that local session with keyboard. I tried to echo to /dev/tty1 but it just shows what I typed instead executing it. Which makes sense. The system only has bash so no GUI or anything like that.
How I could go about creating my own “custom” Linux distro that will run just one program, pretty much exactly the same way as XBMCbuntu.
My question is with regards to booting a Linux system from a separate /boot partition. If most configuration files are located on a separate / partition, how does the kernel correctly mount it at boot time?