Sponsored Content
Full Discussion: commands file
Top Forums UNIX for Advanced & Expert Users commands file Post 302078753 by thestevew on Tuesday 4th of July 2006 10:20:13 AM
Old 07-04-2006
On SunOS 5.6 it's in histstore in your home directory (~/histstore) - may be the same for 5.8
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Commands for File Security

I was reading about unix on the site on the internet when I came across a topic that deals with using commands like "crypt" to encrypt files so that no one but the owner can see contents of the file. Now, I tried that command "crypt" on my Linux RedHat version 7.2 system and it didn't work ... (5 Replies)
Discussion started by: TRUEST
5 Replies

2. Shell Programming and Scripting

A single file for many commands

Hello All, I have a list of short programs (over 200) to run and it is a hassle to sit and execute each one of them one after the other. What I'd like to know is if it was possible to create one file which would list all these commands and all I need to do is to execute this one single file.... (2 Replies)
Discussion started by: zenla15
2 Replies

3. Programming

code that reads commands from the standard i/p and executes the commands

Hello all, i've written a small piece of code that will read commands from standard input and executes the commands. Its working fine and is execting the commands well. Accepting arguments too. e.g #mkdir <name of the directory> The problem is that its not letting me change the directory i.e... (4 Replies)
Discussion started by: Phrozen Smoke
4 Replies

4. UNIX for Dummies Questions & Answers

Output of 2 commands into 1 file

How could you put the output of two commands into one file using a single command? For example put the output of a grep command and a sort command into one file together. Here is another rough explanation of what I am trying to do; output of $ grep pattern file1 plus output of $ sort file... (8 Replies)
Discussion started by: enuenu
8 Replies

5. Shell Programming and Scripting

Can BASH execute commands on a remote server when the commands are embedded in shell

I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config. I am not sure if I can do this with BASH scripting. I have set up password less login by adding my public key to authorized_keys file, it works. I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies

6. Shell Programming and Scripting

Reading Commands From a File

I am trying to create a script that will read bash commands from a text file and execute them. These commands would all be defining variables. Is this possible, and if so, how do I do it. Any help would be greatly appreciated. (2 Replies)
Discussion started by: vockleya
2 Replies

7. Solaris

In which file we can see commands of vxvm

Hi, 1)In which file we can see commands of vxvm. 2) In my PC when i use commands like vxresixee, vxevac, vxconfigd etc error comming like command not found? can anyone help me out? (1 Reply)
Discussion started by: rahulpakanati
1 Replies

8. Shell Programming and Scripting

Reading UNIX commands from file and redirecting output to a file

Hi All I have written the following script: #!/bin/ksh while read cmdline do echo `$cmdline` pid="$cmdline" done<commands.txt =========== commands.txt contains: ps -ef | grep abc | grep xyz |awk '{print $2}; My objective is to store the o/p of the command in a variable and do... (8 Replies)
Discussion started by: rahulparo
8 Replies

9. Shell Programming and Scripting

Need unix commands to delete records from one file if the same record present in another file...

Need unix commands to delete records from one file if the same record present in another file... just like join ... if the record present in both files.. delete from first file or delete the particular record and write the unmatched records to new file.. tried with grep and while... (6 Replies)
Discussion started by: msathees
6 Replies

10. Shell Programming and Scripting

File test commands with variable file name

Hi there I have the following code SDFFILE_SRC=$BACKEND_DIR/$SDFFILE_MIN_tar SDFFILE_DST=$SIM_DIR/$SDFFILE_MIN if ] .... .... .... fi Simply I need to check if $SDFFILE_SRC isa newer than $SDFFILE_DST or $SDFFILE_DST does not exist then execute the IF Body. Although the the... (2 Replies)
Discussion started by: aelhosiny
2 Replies
createhomedir(1)					    BSD General Commands Manual 					  createhomedir(1)

NAME
createhomedir -- create and populate home directories on the local computer. SYNOPSIS
createhomedir [-scbalh] [-n directoryDomainName] [-u username] DESCRIPTION
createhomedir provides several options for creating and populating home directories. OPTIONS
-s creates home directories for server home paths only (default). -c creates home directories for local home paths only. -b creates home directories for both server and local home paths. -a creates home directories for users defined in all directory domains of the server's search path. -l creates home directories for users defined in the local directory domain. -L causes the created home directory to be localized. -n directoryDomainName creates home directories for users defined in a specific directory domain in the server's search path. -u username creates a home directory for a specific user defined in the domain(s) identified in the -a, -l, or -n parameter. If you omit the -a, -l, and -n parameters when you use the -u parameter, -a is assumed. -i reads username list from standard input and creates specified home directories. Each username should be on its own line. -h usage help. FILES
/usr/sbin/createhomedir location of tool CAVEATS
When using the -a option, search limits of various directory servers (such as Open Directory or Active Directory) can prevent all possible home directories from being created. In this case, you may need to specify the usernames explicitly. Mac OS X May 31, 2019 Mac OS X
All times are GMT -4. The time now is 01:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy