Search Results

Search: Posts Made By: saurabh84g
1,586
Posted By Corona688
xargs piles all the arguments into as small a...
xargs piles all the arguments into as small a number of commands as it can, and since mv expects the destination last, that can be downright dangerous.

Try find ... -exec mv '{}'...
Forum: Red Hat 09-29-2014
2,687
Posted By Scrutinizer
Try: fdisk -l | awk '$0!~s "[0-9:]"'...
Try:

fdisk -l | awk '$0!~s "[0-9:]"' s=/dev/sdd RS= ORS='\n\n'
Forum: Red Hat 09-29-2014
2,687
Posted By Aia
Temporarily (until next boot) remove disk sdd...
Temporarily (until next boot) remove disk sdd from system
echo 1 > /sys/block/sdd/device/delete

If you want to add disk sdd back to the system without reboot you must know the host number BEFORE...
Forum: Red Hat 02-18-2014
6,006
Posted By Scott
No, lftp is just an FTP client (a clue is that it...
No, lftp is just an FTP client (a clue is that it isn't called lftpd).
2,098
Posted By Akshay Hegde
Following might be useful ...
Following might be useful

https://www.unix.com/unix-dummies-questions-answers/240535-highlight-text-shell-o-p.html
Forum: Red Hat 12-18-2013
2,024
Posted By Scott
It doesn't matter how long the line is. If it...
It doesn't matter how long the line is. If it wraps in your editor that doesn't mean it's spanning multiple lines in the file.

cat -n /etc/fstab

If you've pasted it, and that's inserted a...
2,167
Posted By Scrutinizer
Does your script have a return code? If so you...
Does your script have a return code? If so you could try:
if script > /dev/null 2>&1; then
echo "we can proceed"
else
echo "we cannot"
fi

Or if you need to match "PASS" in the scripts...
Forum: Red Hat 11-07-2012
5,891
Posted By admin_xor
If your server is configured to install rpms from...
If your server is configured to install rpms from a yum repo, you can install the package like this:


yum whatprovides *bin/service # This will give you the package name
yum install package-name
Forum: Red Hat 08-05-2011
1,465
Posted By Scott
Everyone at the UNIX and Linux Forums gives their...
Everyone at the UNIX and Linux Forums gives their best effort to reply to all questions in a timely manner. For this reason, posting questions with subjects like "Urgent!" or "Emergency" and...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 02:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy