Reputation
3,845
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 3 12
Newest
 Student
Impact
~184k people reached

2h
comment How to add double quotes to a various strings in a same pattern in a file
From the main help page for this site: "Include details about what you have tried...". If you're not bothering to try to solve it yourself, you're unlikely to find anyone here willing to do your job for you.
2h
comment How to add double quotes to a various strings in a same pattern in a file
So you've not even tried figuring out a sed or awk solution?
2h
comment How to add double quotes to a various strings in a same pattern in a file
What have you tried so far?
Aug
28
comment Auditing configuration
Does the NFS server not make syscalls on behalf of the client to actually read/write files?
Aug
27
comment $@ except the 1st argument
You don't - you use it before entering the for loop, then you just loop through $@ normally. After the shift call, $@ should be arg2_1 arg2_2 arg2_3...
Aug
27
comment Unknown word comes up automatically after changing password on a user
What is the command you're using to change the password?
Aug
27
comment Can't install fail2ban on Centos 7.1
What does "rpm -q epel-release" say?
Aug
26
comment send bootup script output to virtual terminal
So why do you still try to write to a terminal? Not doing stupid things is also important - perhaps moreso.
Aug
26
comment send bootup script output to virtual terminal
You're doing it wrong. Init scripts should never write to terminals - write to a log file.
Aug
24
comment System keeps asking me for root password instead of my password!
No, another options - and the best practice IMHO - is to prepend each command with sudo.
Aug
24
comment System keeps asking me for root password instead of my password!
Better, yes... but still bad practice.
Aug
18
comment Wipe a Solaris Disk
Why not just whip up a script that echoes commands into the STDIN stream for format?
Aug
12
comment Insert blank line in UNIX after different number of lines
What have you tried? I only see one line int hat file - is that all one line, or is it multiple lines and you simply did not format the question correctly?
Aug
12
comment How to print line numbers using sgrep
If you need the line numbers for the original files, you lost that information when you sorted the files.
Aug
12
comment Python Module install Error
Where is the actual error message you get?
Jul
29
comment KeepAliveD Documentation
Again... deprecated though it might be, it is the official site. Take it up with the keepalived maintainers.
Jul
28
comment Add more packages to the default installation with Linux Mint
This is dependent on the distribution you're installing, and it usually isn't a bash script.
Jul
17
comment Replace pattern with line from file using awk/sed
What have you tried so far?
Jul
15
comment Redirect outbound traffic on LAN going to port 443 to port 80 or 8080 instead
Some websites either do not allow http connections or will redirect http connections to https immediately. Putting in an https to http redirect at the outgoing border of your LAN might cause problems for your network because of this.
Jul
14
comment User has write permissions but cannot write to files
Can you post the code that's opening the files for (re-)writing?