11-04-2010
Hi.
Yes.
The first (cd ~smart) will cd to the home directory or user smart.
The second will cd to a directory called smart in the current user's home directory. cd ~ will cd to the current user's home directory.
This User Gave Thanks to Scott For This Post:
4 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
eg. : there is a file - 322 bytes,
how can I (or you) view just a half of file (161 bytes)? (3 Replies)
Discussion started by: zylwyz
3 Replies
2. Shell Programming and Scripting
First, I know that's a bad title. I couldn't think of anything short enough. ...
I wrote the following script to let me know when various parts of the network are down. It used to look like this before last weekend when I got over 500 emails about 1 host being down all weekend:
this is in the... (1 Reply)
Discussion started by: raidzero
1 Replies
3. Shell Programming and Scripting
Hello
Im pretty new to scripting in linux but am keen to learn.
I'm trying to create a backup script similar to a batch script I developed for windows (dos) where the backup is to a usb drive. no problems with the backup process but what I would like to do is automatically remove old files if... (2 Replies)
Discussion started by: TheGacko
2 Replies
4. Shell Programming and Scripting
Hi,
I need a script to assign variables the below paths
/appl/user_projects/domains/<xxx>/servers/<yyy>/logs
Where <xxx> can be any number and name of directories.
<yyy> can be another set of any number of names and directories.
I want to neglect all the <xxx> and <yyy>... (3 Replies)
Discussion started by: mohtashims
3 Replies
LEARN ABOUT SUSE
ocf_pacemaker_healthsmart
OCF_PACEMAKER_HEALTH(7) Pacemaker Configuration OCF_PACEMAKER_HEALTH(7)
NAME
ocf_pacemaker_HealthSMART - SMART health status
SYNOPSIS
OCF_RESKEY_state=string OCF_RESKEY_drives=string OCF_RESKEY_temp_lower_limit=string OCF_RESKEY_temp_upper_limit=string
HealthSMART [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
Systhem health agent that checks the S.M.A.R.T. status of the given drives and updates the #health-smart attribute.
SUPPORTED PARAMETERS
OCF_RESKEY_state = string [/var/run//health-smart-{OCF_RESOURCE_INSTANCE}.state]
State file
Location to store the resource state in.
OCF_RESKEY_drives = string [sda]
Drives to check
The drives to check as a SPACE separated list. Enter only the part after the "/dev/" i.e. "sda". At the moment /dev/sda is hard coded.
Sorry.
OCF_RESKEY_temp_lower_limit = string [0]
Lower limit for the temperature of the drive(s)
Lower limit of the temperature in deg C of the drive(s). Below this limit there status will be red. The yellow limit is 5 deg C more
than this value.
OCF_RESKEY_temp_upper_limit = string [60]
Upper limit for red smart attribute
Upper limit of the temperature if deg C of the drives(s). If the drive reports a temperature higher than this value the status of
#health-smart will be red. The yellow limit is 5 deg C below this value.
AUTHOR
Andrew Beekhof <andrew@beekhof.net>
Author.
Pacemaker Configuration 07/05/2010 OCF_PACEMAKER_HEALTH(7)