Reputation
2,488
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
8 25
Newest
 Nice Answer
Impact
~382k people reached

5h
comment i am new to shell scripting..how to do a multiple backup's of a file in a sequence which is overwrting through shell scripting?
What have you tried?
14h
comment Do I need to backup the files in /opt directory when upgrading Solaris 11 to Solaris 11.3?
Have you check the man page for beadm? beadm destroy <old_be_name>
Dec
18
comment VMware Tools in Solaris 11 VM doesn't mount the host filesystem
probably too late. but there is a log file when you run that. You need to check the log file and see exatly what failed. Usually it is due to a missing library or executable.
Oct
6
comment How can I write a bash script that tells me how many hours there are from 23:43 to 02:10?
what have you tried?
Oct
1
comment ksh if statement syntax
I guess you are missing the $ in (ps. It should be $(ps. Also add what you have tried and the errors you are having to the question.
Aug
24
comment How can I replace the <title> element in many HTML files?
take a look at sed command.
Aug
24
comment 'while read line do' cause: “syntax error near unexpected token `done'” in Linux bash script
@Murat, just like Stephane mentioned, the problem seems to be in the [...]. Hope the file for example with vim and enable the syntax check. You should be able to see if something is not terminated. I have my share of cases where the script complain at line 150 and the problem as on a misquote in a completed different line.
Aug
5
comment Cronjob is running every minute but not at a specific time
first read the man page for cron. Because the second option means: at 20.15 of everyday run the job.
Jun
19
comment Oracle Solaris 11.2 hangs during installation
In addition to what @Lambert added, probably you might have to disable certain features. Check the Hardware compatibility list for further info. oracle.com/webfolder/technetwork/hcl/data/s11ga/index.html
May
6
comment Low mouse and keyboard framerate in Fedora 21
If the problem is with the controller, then it can be one of several problems. HW faulty, version of the USB on that specific port, how is this usb controller connected inside the system, does it share other resources with other devices, example dvd, etc.
May
6
comment Find files created by a particular user
The only way I see to perform that is by having filesystem audit in place.
May
5
comment Why will a linux usb boot on my personal pc but not on school computers?
Can you give more info like: what is the size of the drives. When you plug at home both drives, what does the partition table tells you? what about the filesystem types?
May
1
comment Error while trying to connect 2 pcs in lan
I would say you might be pinging some completely different host. Have you tried to use traceroute to see? Have you checked the arp table and compared the MAC address? are you 100% sure they are connected on the same LAN? Have you checked if PC1 has firewall and drop ICMP packets?
May
1
comment ZFS allocation algorithm
Here goes: When is setting the tunable metaslab_df_free_pct appropriate? (Doc ID 1503020.1)
May
1
comment ZFS allocation algorithm
Ended up by finding something in My Oracle Support but it is no longer valid for recent releases as the code was changed.
Apr
22
comment Diff Entire Linux Systems
In fact what you want is quite easy but complicated to achieve. Given the resources I would install two system exactly the same. Enable filesystem audit on the system that will have the files modified. Get the report from audit to identify what was added/modfiry/delete. Then compare these files with the other installed system.
Dec
6
comment find parent string based on regex
Thank you. I'll give it a try.
Dec
6
comment find parent string based on regex
since when? this is shell scripting question which is part of this site you can find more info -> unix.stackexchange.com/help/on-topic.
Dec
6
comment find parent string based on regex
this is an answer as it does exactly what I want, although it's slow and I would like something simpler. Doing like this to 200+ devices is just overkill. Although when I posted the question I had only volume name and was thinking on how to obtain the desired result.
Dec
6
comment find parent string based on regex
I want to find the domain associated with a device. Mainly I have a list of devices, I find their volume name (vol=name) and then I want to get the domain they are assigned to.