I need to find the storage capacity of warehouse present on the remote server.
My requirements are:
1)Connect to the remote server
2)Change the directory to particular directory and
3)Know the capacity of warehouse.
Say my commands are:
2)df -k warehouse44
How do I execute above commands on remote server.
When I use
'cd /server/warehouse|df -k warehouse44'
I get message:
df: (warehouse44) not a block device, directory or mounted resource