SysAdmin Wiki
Showing posts with label
Bash
.
Show all posts
Showing posts with label
Bash
.
Show all posts
Saturday, January 3, 2015
Bash command to print list of sequential host name
Bash command to print list of sequential host name:
for i in `seq 11 15`; do echo "server${i}"; done
this will print the following hostname:
server11
server12
server13
server14
server15
Older Posts
Home
Subscribe to:
Posts (Atom)