Custom Search : Technical Guides Sybase Oracle UNIX Javascript

Technical Guides

Of Interest

Business Intelligence and Analytics

Oracle Training

UNIX » Commands » Basics »

Misc UNIX Tips


Other errata is included in this section

# Date stamping files
# format is :
# touch -t filename

touch -t 199810311530.00 hallowfile

# lowercase functions (ksh)
typeset -u newfile=$filename

# date formatting, yields 112098 for example
date '+%m%d%y'

# display a calendar (Linux / Solaris / AIX)

# route output to both test.txt and std output
./runbackup | tee test.txt

# sleep for 5 seconds
sleep 5

# send a message to all users
wall "lunch is ready"

# edit file, which displays at login time (message of the day)
vi /etc/motd

# edit file, which displays before login time (Solaris)
vi /etc/issue

UNIX : Related Topics

UNIX : Commands : File Permissions
UNIX : Commands : Using Tar
UNIX : Commands : Find files, current directory only
UNIX : Commands : Sort a file, with a specific key
UNIX : Commands : User Accounts
UNIX : Commands : Listing Files
UNIX : Commands : Moving and Copying Files
UNIX : Commands : Deleting Files
UNIX : Commands : Disk Usage
UNIX : Commands : Running a process, spawning a process
UNIX : Commands : Killing a UNIX process
UNIX : Commands : Redirecting Output
UNIX : Commands : Displaying a File

Sybase Web Site
Sybase iAnywhere Mobile Web Site
Oracle Enterprise Web Site

Get the latest Rocket99 news and tech tips via

Site Index About this Guide to Sybase, Oracle, and UNIX Contact Us Advertise on this site

Copyright © 2016 Stoltenbar Inc All Rights Reserved.