Sponsored Content
Operating Systems Solaris May i know the day to day activities of a Solaris system administrator? Post 302420175 by robsonde on Tuesday 11th of May 2010 01:34:13 AM
Old 05-11-2010
it very much depends.

in my company we have a team of 9 unix admins.
4 solaris admins, 4 HPUX admins, 1 general unix type.

there is no such thing as a typical day, often I am working on projects for upgrading stuff.
some of the time I am fixing faults, 3rd level support stuff.

some of the time I am doing training of our second level team.

yesterday I was going to be setting up LDAP branches for our new HR system.
but I got side tracked by a security project that had issues.

today I was going to be building a new webserver system for our DR site.
but I got side tracked by a problem with our new DNS system.

tomorrow maybe setting up the webserver, but there is a good chance I will get side tracked :-)
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Write a shell script to find whether the first day of the month is a working day

Hi , I am relatively new to unix... Can u pls help me out to find out if the first day of the month is a working day ie from (Monday to Friday)...using Date and If clause in Korn shell.. This is very urgent. Thanks for ur help... (7 Replies)
Discussion started by: phani
7 Replies

2. UNIX for Dummies Questions & Answers

I want to get day from the current system date

Hi, I want to check what day is today (like mon,Tue,wed) When i checked the syntax, i dont see there is a format specifier for getting the day. Let me know how to get the same. I am very new to unix and so I am asking some basic questions. cheers, gops (2 Replies)
Discussion started by: gopskrish
2 Replies

3. Solaris

/var size is increasing day by day

Hi experts, I am facing a big problem. i use solaris 9. i found size of /var is increasing day by. snapshot of a yester moring- /dev/vx/dsk/var 15G 14G 1.1G 94% /var snapshot of a yesterday everning- /dev/vx/dsk/var 15G 14G 824M 95% /var I am... (11 Replies)
Discussion started by: thepurple
11 Replies

4. Shell Programming and Scripting

Script to find previous month last day minus one day timestamp

Hi All, I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this. My Requirment is as below: Input for me will be 2000909(YYYYMM) I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
Discussion started by: girish.raos
3 Replies

5. Shell Programming and Scripting

Code creates day 32 instead of 1st day of next month.

I am using the code below modified from a post I saw here regarding having the script write out future dates. The problem is that instead of making 8/1 it makes 7/32! Please help! yy=`date +%Y` mm=`date +%m` dd=`date +%d` echo "Today is : $yy $mm $dd" #!/usr/bin/ksh date '+%m... (5 Replies)
Discussion started by: libertyforall
5 Replies

6. Shell Programming and Scripting

Script to check if last modified day is previous day

Hi, I would like to write a script that checks if a file ('counter') was modified the previous day, if so erase its contents and write 00000000 into it. For e.g. if the file 'counter' was last modified at 11.30pm on 24th May and the script runs at 12.15am of 25th May, it should erase it's... (1 Reply)
Discussion started by: hegdepras
1 Replies

7. UNIX for Dummies Questions & Answers

Move the files between Current day & a previous day

Hi All, I have a requirement where I need to first capture the current day & move all the files from a particular directory based on a previous day. i.e move all the files from one directory to another based on current day & a previous day. Here is what I am trying, but it gives me errors.... (2 Replies)
Discussion started by: dsfreddie
2 Replies

8. Shell Programming and Scripting

Julian day to dates in YEAR-MONTH-DAY

hello, I have many files called day001, day002, day003 and I want to rename them by day20070101, day20070102, etc. I need to do it for several years and leap years as well. What is the best way to do it ? Thank you. (1 Reply)
Discussion started by: Ggg
1 Replies
VCSH(1) 																   VCSH(1)

NAME
vcsh - manage config files in $HOME via fake bare git repositories SYNOPSIS
vcsh clone url [repo] vcsh delete repo vcsh enter repo vcsh help vcsh init repo vcsh list vcsh list-tracked vcsh list-tracked-by repo vcsh rename repo newname vcsh run repo command vcsh setup repo vcsh which substring vcsh write-gitignore repo vcsh repo gitcommand vcsh repo DESCRIPTION
vcsh allows you to have several git(1) repositories, all maintaining their working trees in $HOME without clobbering each other. That, in turn, means you can have one repository per config set (zsh, vim, ssh, etc), picking and choosing which configs you want to use on which machine. vcsh is using a technique called fake bare git repositories, keeping $GIT_DIR in a different directory from $GIT_WORK_TREE which is pointed to $HOME. The use of symlinks is not needed in this setup, making for a cleaner setup. vcsh was designed with mr(1) in mind so you might want to install it alongside vcsh. That being said, you can easily use vcsh without mr if you prefer. A sample configuration for vcsh and mr can be found at https://github.com/RichiH/vcsh_mr_template and used with vcsh clone https://github.com/RichiH/vcsh_mr_template mr. Please note that you can always use a path instead of a name for repo. This is needed to support mr and other scripts properly and of no concern to an interactive user. OPTIONS
clone Clone an existing repository. delete Delete an existing repository. enter Enter repository; spawn new $SHELL. help Display help. init Initialize an empty repository. list List all local vcsh repositories. list-tracked List all files tracked by vcsh. list-tracked-by List files tracked by a repository. rename Rename a repository. run Run command with $GIT_DIR and $GIT_WORK_TREE set. Allows you to run any and all commands without any restrictions. Use with care. Please note that there is a somewhat magic feature for run. Instead of repo it accepts path, as well. Anything that has a slash in it will be assumed to be a path. vcsh run will then operate on this directory instead of the one normally generated from the reposi- tory's name. This is needed to support mr and other scripts properly and of no concern to an interactive user. setup Set up repository with recommended settings. which substring Find substring in name of any tracked file. write-gitignore Write .gitignore.d/repo via git ls-files. repo gitcommand Shortcut to run vcsh on a repo. Will prepend git to command. repo Shortcut to run vcsh enter <repo>. ENVIRONMENT
As noted earlier, vcsh will set $GIT_DIR and $GIT_WORK_TREE to the appropriate values for fake bare git repositories. HOOK SYSTEM
vcsh provides a hook system. Hook scripts must be executable and should be placed in <$XDG_CONFIG_HOME/vcsh/hooks-available>. From there, they can be soft-linked into <$XDG_CONFIG_HOME/vcsh/hooks-enabled>; vcsh will only execute hooks that are in this directory. Hooks follow a simple format. pre-run will be run before anything is run. If you want to have more than one script for a certain hook, just append any kind of string to order them. A system of pre-run, <pre-run.10>, <pre-run.20> etc is suggested; other options would be pre-run-10 or <pre-run.sh>. A dot after the hook name is optional. If you want to create hooks for a specific vcsh repository, simply prepend the repository's name, followed by a dot, i.e. <zsh.pre-run>. Otherwise, the same rules as above apply. The dot between the repository's name and the hook is mandatory, though. Available hooks are pre-enter, post-enter, pre-run, post-run, pre-setup, and post-setup. If you need more, vcsh is trivial to patch, but please let upstream know so we can ship them by default. DETAILED HOWTO AND FURTHER READING
Man pages are intended to be short and thus often useless to glean best practices from. This software comes with a file called <README.md>. It contains various approaches to setting up and using vcsh. You can view the file it as plain text or render it into various other formats via Markdown. On Debian-based systems, this file can be found in </usr/share/doc/vcsh>. SECURITY CONSIDERATIONS
vcsh allows you to execute arbitrary commands via vcsh run. For example, adding a sudo(8) rule for vcsh would be pretty stupid. Additionally, vcsh will source, i.e. execute, <$XDG_CONFIG_HOME/vcsh/config>. You can put any and all commands into this config file and they will be executed. BUGS
None are known at this time, but reports and/or patches are more than welcome. KNOWN ISSUES
As of this writing (June 2012), vcsh does not work with git submodule due to limitations within git. Depending on when you are reading this, you might want to consider upgrading. HISTORY
Like most people, the author initially made do with a single repository for all config files, all of which were soft-linked into $HOME. Martin F. Krafft aka madduck came up with the concept of fake bare git repositories. vcsh was initally written by madduck. This version is a re-implementation from scratch with a lot more features. madduck graciously agreed to let the author take over the name. AUTHOR
This manpage and vcsh itself were written by Richard "RichiH" Hartmann. COPYRIGHT
Copyright 2011-2012 Richard Hartmann richih.mailinglist@gmail.com Licensed under the GNU GPL version 2 or higher. https://github.com/RichiH/vcsh SEE ALSO
git(1), mr(1) June 2012 VCSH(1)
All times are GMT -4. The time now is 12:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy