
reset failed login count / unlock aix/UNIX account
2018年5月12日 · As system administrator it is necessary to lock / unlock users or to reset failed login count. let's look how we can perform lock / unlock users or to reset on UNIX/AIX
How to check that a user/password is expired in AIX? - Unix
2011年11月3日 · I can check that the user is expired or not with: lsuser -f USERNAME | fgrep expires But how can I check that the user's password is expired or not? Are there any other "expiring" things that can
linux - Explaining the 'find -mtime' command - Stack Overflow
2014年8月27日 · The POSIX specification for find says: -mtime n The primary shall evaluate as true if the file modification time subtracted from the initialization time, divided by 86400 (with any remainder discarded), is n. Interestingly, the description of find does not further specify 'initialization time'. It is probably, though, the time when find is initialized (run). In the descriptions, wherever n is ...
How can I send an email through the UNIX mailx command?
2010年2月17日 · through mailx utility we can send a file from unix to mail server. here in above code we can see first parameter is -s "subject of mail" the second parameter is mail ID and the last parameter is name of file which we want to attach
unix - Date manipulation in AIX shell script - Stack Overflow
2012年2月1日 · Iam working on a shell script in AIX where we get a date from a file/command line. Now, i have to compare the current date with the input date and see the number of days difference.
AIX / Unix - Delete files older than x days - Stack Overflow
2017年7月26日 · For AIX 6.1, there is a slight change needed. Verbose explanation included (fair warning) find . /path/to/files/ -name "Files*.*" -mtime +45 -exec That dot is needed. For the "Files*. " you will use your names. My folder is a custom report folder and the date of the file is included in the name. But all the reports start with "Daily". So I have ...
Find location of program in Aix/Unix not in $PATH variable
2016年3月1日 · I am very new to using Aix/Unix and trying to figure out some basics. Right now when I type $ private_build <some options> into the terminal, it begins running a program (private_build) my company has written. I'd like to know how the OS knows where to find this program to execute it.
Automating sftp using IBM AIX(UNIX) shell script - Stack Overflow
I am trying to automate my SFTP command using a UNIX shell script but for some reason it doesn't work. Here is my code as below. Please share your thoughts/insights. #This ftp script will copy all...
unix timestamp - Alternative date command option in AIX - Stack …
2018年11月16日 · I want to convert specific date to timestamp in AIX. Following command is working in GNU/LINUX flavor. Can someone please help me to get it done in AIX as well? Command working on GNU/LINUX: Comm...
aix - Advanced grep unix - Stack Overflow
2009年11月6日 · Usually grep command is used to display the line contaning the specified pattern. Is there any way to display n lines before and after the line which contains the specified pattern? Can this will...