Reputation
11,264
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
19 48
Newest
 Informed
Impact
~618k people reached

16h
comment normal user runnig a bash script containing root command without password
In theory you could write a SUID program, but in practise a solution with sudo is much better. Why do you want to avoid sudo? Its call could be hidden in a separate script.
16h
comment sed substitution within file
sed -i "/^$i;/ s/Activate/Remove/g" file should work if $i is set correctly to HIFI1. The problem is probably somewhere else.
20h
reviewed Leave Open I have two arrays roles added and roles deleted, want to merge them and write in this order in perl
20h
reviewed Leave Open How to make a password box in linux?
1d
comment Build log4cxx [DEBIAN]
Why do you want to built the package by hand? There is already a pre-built Log4cxx package for Debian. The build-dependencies are listed in debian/control of the corresponding source package.
1d
reviewed No Action Needed Bash Script — ffmpeg not being invoked as expected
2d
comment How to make a background service to capture commands and their output?
There is e.g. auditd which can monitor your system, but recoding the outputs of all commands is difficult. Why do you need this? See security.stackexchange.com/questions/4607/linux-command-logging
2d
reviewed Reopen How to install/run some non-free programs isolated from rest?
2d
reviewed Looks OK Creating a script that runs a simple command for all files in a directory
2d
revised Force all network traffic go through default gateway
added 45 characters in body
2d
comment Force all network traffic go through default gateway
@toed That depends which is the network address. If it is 192.168.1.0, its definitely outside the network, but you can also choose 192.168.1.1 as network adress. I will clarify my answer.
2d
comment Is there a FileType name for files without suffix in vim?
The filetype detection is not only filename, but also content depended. Is the content of your files special (distinct header, ...)? Maybe you can introduce a new filetype for your files.
2d
comment Is there a FileType name for files without suffix in vim?
It is true, that a new file has no filetype. You need to run :filetype detect or reopen to trigger the filetype detection. The filetype detection is not only filename sensitive but also uses the content of a file. In this sense, your answer is not 100% correct.
2d
reviewed Approve wget a url from my public outdoor wx cam
2d
reviewed Close Still alive, still alive after kill -9 / SIGKILL
2d
reviewed Leave Open create crontab job scheduling every day 10:44 AM in shell scripting
2d
answered Force all network traffic go through default gateway
2d
reviewed Looks OK Where does yum store the temporary packages
2d
reviewed Looks OK Where does yum store the temporary packages
2d
comment create crontab job scheduling every day 10:44 AM in shell scripting
Read the crontab man page and post what you would try.