Search Results

Search: Posts Made By: Artur Zaworski
3,121
Posted By Artur Zaworski
FYI: Chapter 39: Creating and Formatting Man...
FYI: Chapter 39: Creating and Formatting Man Pages (http://www.fnal.gov/docs/products/ups/ReferenceManual/html/manpages.html)
45,724
Posted By Artur Zaworski
It's correct - eg. if you don't have shell you...
It's correct - eg. if you don't have shell you won't be able to run commands on remote host.

Regards,
-Artur.
6,234
Posted By Artur Zaworski
Here you are: sed...
Here you are:

sed 's|verilog_path_comes|'$path_verilog'|g'

Regards,
-Artur.
45,724
Posted By Artur Zaworski
As far as I remember there is no delete option in...
As far as I remember there is no delete option in openssh by default. I've seen patches which can help you, but I never tried them.

On the other hand you can always do ssh host 'rm -fr /your/file'...
8,675
Posted By Artur Zaworski
What's about: server_ip=`host -t A...
What's about:

server_ip=`host -t A roadhaulage.com | awk -F' ' '{print$4}'`

Regards,
-Artur.
4,297
Posted By Artur Zaworski
find /<your>/<path> -type f -name .\_\* -exec rm...
find /<your>/<path> -type f -name .\_\* -exec rm -f {} \;

Be careful with path you are using.

Enjoy!

Regards,
-Artur.
Forum: Red Hat 04-12-2010
9,748
Posted By Artur Zaworski
You can use also eg. sed, cut or tr as well....
You can use also eg. sed, cut or tr as well. However it's rather 'modify' option ;-) Ex:

cp /etc/inittab /tmp
cat /tmp/inittab | sed 's/id:5/id:3/' > /etc/inittab

Regards,
-Artur.
4,698
Posted By Artur Zaworski
Easiest way: Script like this: for I in...
Easiest way:

Script like this:
for I in 192.168.168.10 192.168.168.11 192.168.168.12; do echo $I; scp $1 root@$I:$2 ; done

Two arguments are required:
- 1st what do you want to copy
- 2nd...
Forum: Red Hat 04-09-2010
25,969
Posted By Artur Zaworski
Native command which can be used for it for...
Native command which can be used for it for RedHat is vmstat.

It will provide you enough details about what's going on with your system (help to define performance problems as well). However...
Forum: Red Hat 04-09-2010
2,031
Posted By Artur Zaworski
Just to provide you command: find...
Just to provide you command:

find /<your>/<directory> -type f -exec rm -f {} \;

Enjoy!

Regards,
-Artur.
11,620
Posted By Artur Zaworski
Does it mean something was filling this directory...
Does it mean something was filling this directory with data?
Can it be that process responsible for this task is still running?

Regards,
-Artur.
2,275
Posted By Artur Zaworski
sed 's/\/etc\/apf\/apf -d $ATTACK_HOST...
sed 's/\/etc\/apf\/apf -d $ATTACK_HOST {bfd.$MOD}/\/sbin\/iptables -A INPUT -s $ATTACK_HOST -j DROP/g'

should be fine - however it's whole line change (not sure if you want to divide it to...
Forum: Red Hat 02-02-2010
11,138
Posted By Artur Zaworski
Can you reboot your machine or it's not an...
Can you reboot your machine or it's not an option?

If you can - boot it with option init=/bin/bash
Then change your shell to proper one.

Regards,
-Artur.
Forum: Linux 03-07-2008
40,376
Posted By Artur Zaworski
Have you check permissions to file which you want...
Have you check permissions to file which you want to mount on loopback? I havn't seen any comment about it.

Regarding sudo configuration - it's not the best idea to provide access for ALL...
Forum: Linux 03-06-2008
8,580
Posted By Artur Zaworski
Hi there, FYI: i686/x86_64/ppc are different...
Hi there,

FYI: i686/x86_64/ppc are different architectures. It's required to get information what kind of HW do you have before anybody is able to answer what to use.

Do you have ia32? ia32e?...
Forum: Linux 03-06-2008
40,376
Posted By Artur Zaworski
[mount problem] It's strange - I'm using: ...
[mount problem]

It's strange - I'm using:
mount: mount-2.12p

I can't test it now, but can you check permissions to file which you want to mount?

[sudo]

I'm sure you can configure sudo...
Forum: Linux 03-06-2008
4,698
Posted By Artur Zaworski
Is it your crontab or root's crontab? If it...
Is it your crontab or root's crontab? If it belongs to root - will be started as root. If it belongs to you - will be started as you.

Regards,
-Artur.
Forum: Linux 03-06-2008
4,698
Posted By Artur Zaworski
If you want to start cron job as root - add it to...
If you want to start cron job as root - add it to root crontab (man -a crontab)
cron daemon is running as root.
Forum: Linux 03-06-2008
40,376
Posted By Artur Zaworski
If you can define earlier which resources you...
If you can define earlier which resources you want to mount/unmount using your application it can be added to /etc/fstab with user option (allow a user to mount).

You can configure sudo for it as...
Showing results 1 to 19 of 19

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