Hi All,
I need to run the same command on many servers. I am using ssh for the same. Following is the script that I am using to fire the same command on multiple machines.
#!/bin/bash
# Linux/UNIX box with ssh key based login
#SERVERS="iqmevrick,iqmango"
# SSH User name
USR="root"
#... (1 Reply)
Hi All!
I need to automate the su command using expect script.Suppose I login as a user A , I need to change the user to oracle using the su oracle command and execute the command "sqlplus -ver".
I tried writing a expect script for the same , but can't figure out the reason it is not working.
... (1 Reply)
Hello People,
I have an outstanding issue with me
I have 5 files at location /usr/abc called
1.DE 1.TXT
2.DE 2.TXT
3.DE 3.TXT
4.DE 4.TXT
5.Fe.ok
My work involves few manual process like
transfer
1.DE 1.TXT and
5.Fe.ok to
/usr/dob location and run one script(for example -... (42 Replies)
Hi,
I would like to know about a automated script which would collect data on a regular day to day basis at a particular time and stores it in a defined path for business analysis.
Any help on this is highly appreciable!!
Thanks
Sara (6 Replies)
Hi, i'm new in shell programming, i would like to archive automatically all my log files at the end of each month.
My files have this format :
2011.07.log1
2011.07.log2
...
2011.08.log1
2011.08.log2
...
etc
I would like to have an idea about how to do this.
Thanks. (2 Replies)
hi there ,
i want to use the scp to transfer the file from one machine to another machine non-stop. i have put it in a .sh file. but everytime i run it and it prompts me to input password.
pc3@pc3-desktop:~/Documents$ ./sample3.sh
pc-main@192.168.1.117's password:
screenshot.jpg ... (4 Replies)
Hi, I wanted to automate the scp command where i do not want to enter the password each time. So thought of using expect command. Script is executing without any issues but files are not copied to remote server. Can any one help me?
Below is my shell script..
#!/bin/ksh
... (6 Replies)
Frequently we need to stop or start services on Linux systems.
For exmaple : To start or stop vsftpd daemon
# /etc/init.d/vsftpd start
or
# /etc/init.d/vsftpd stop
Following script will check the vsftpd service and if it is running, it will be stopped or vice-versa.
# cat... (5 Replies)
A little background information:
We are a company that uses Sharp MFP devices for everyone to print on.
We have a lot of MAC BYOD devices.
All printing is done through a product called PaperCut which is ran on a Windows 2008 R2 server.
Sharp charges our company for each print job done in... (1 Reply)
Hi, I have a requirement to automate SCP command. I have to write the scp command in server1 to copy file from server2 and paste it in server3. I will be passing server2 and server3 as variables. Pls suggest. (1 Reply)
Discussion started by: usrrenny
1 Replies
LEARN ABOUT MOJAVE
msdos.util
MSDOS.UTIL(8) BSD System Manager's Manual MSDOS.UTIL(8)NAME
msdos.util -- DOS/Windows (FAT) file system utility
SYNOPSIS
msdos.util -m mountflag1 mountflag2 mountflag3 mountflag4 device node
msdos.util -p mountflag1 mountflag2 mountflag3 mountflag4 device
msdos.util -u device
msdos.util -k device
msdos.util -n device name
DESCRIPTION
The msdos.util command supports the mounting, probing, and unmounting of FAT file systems.
Options:
-m mountflag1 mountflag2 mountflag3 mountflag4
mount
-n set name
-p mountflag1 mountflag2 mountflag3 mountflag4
probe for mounting
-u unmount
-k print volume UUID
mountflags above are either:
o removable or fixed
o readonly or writeable
o suid or nosuid
o dev or nodev
FAT volumes do not actually have a volume UUID. They have an optional 4-byte volume ID. If a volume has an ID, then it will be converted to
a version 3 UUID using MD5 to checksum the kFSUUIDNamespaceSHA1 UUID folowed by the volume ID.
For the -k option, if the volume has a volume ID, the exit status will be 253 and the UUID will be printed to standard out, without any
trailing newline. Otherwise, if the volume appears to be FAT, the exit status will be 255. If the volume does not appear to be FAT, the
exit status will be 254.
FILES
/System/Library/Filesystems/msdos.fs/Contents/Resources/msdos.util
SEE ALSO diskarbitrationd(8)HISTORY
Derived from the Openstep Workspace Manager file system utility programs.
Darwin March 24, 2001 Darwin