Sponsored Content
Top Forums Shell Programming and Scripting profile script command syntax Post 15276 by Mufasa on Tuesday 12th of February 2002 02:14:53 PM
Old 02-12-2002
Thanks - I'm using zsh, userid 1001 (serveruser). I was under the impression that etc/profile executed for every user login, and therefor expected to see the environment variables when executing "env" after a new login as serveruser, but I don't. Is there a more correct way to test this?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

changed .profile but didnt ./.profile, yet reflected changes

hi , i added ls -F to .profile. and i need to do ./.profile for the effect to take effect BUT i didnt and YET the next day when i came to work and log in, the changes took effect. i am on aix. please explain.. thanks (4 Replies)
Discussion started by: yls177
4 Replies

2. OS X (Apple)

creating a new profile from command line

Does any1 know how to preform such an operation on a mac? any help appreciated (2 Replies)
Discussion started by: cleansing_flame
2 Replies

3. UNIX for Advanced & Expert Users

All alias in .profile lost when "script" command is called

Hi, I was trying to call "script <an ip add>" command from .profile file to log everything whenever anyone logs in to this user. I did the following at the end of .profile. 1) Extracted the IP address who logged in 2) Called script < ip add> . The problem I am facing is all, aliases etc. written... (3 Replies)
Discussion started by: amicon007
3 Replies

4. Solaris

/etc/profile file edited. No command working

I have X4500 and I created a user. I wanted to give him root privileges and for editing the sudoers files I typed visudo sudoers. But it said visudo command not found. After googling I found that we need to set path in etc/profile. I edited that and put the following command ... (3 Replies)
Discussion started by: bharu_sri
3 Replies

5. OS X (Apple)

Problem using a top command alias in my profile

Hi- I am newish to the mac osx unix interface. I want to set up top so that it always displays the username. I can use this command to do this: top -ocpu -P ' PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE USER' -p '$aaaa ^bbbbbbbbb $cccc $wwwwwww $ee... (1 Reply)
Discussion started by: mikey11415
1 Replies

6. UNIX for Dummies Questions & Answers

alias command within .profile

Please could someone advise me the command - to set up aliases commands within a .profile using shell sh regards venhart (13 Replies)
Discussion started by: venhart
13 Replies

7. Solaris

The .profile file has only exit command

Hi everyone, This is my first post in the forum. :-) I was asked this question for an interview recently. Q: What will happen if the .profile file has only the exit command in it and nothing else. (Assume that every other settings are in place to run the .profile file, when the user... (6 Replies)
Discussion started by: avinashpv
6 Replies

8. Shell Programming and Scripting

syntax issue with quotes in mysql command for a bash script

i'm trying to write a bash script that executes a mysql statement mysql -sN -e INSERT INTO "$database"."$tableprefix"users (var1, var2,var3) VALUES (123, '1','') i don't know where to put the quotes it doesnt work with this one: ` it seems i can only put double quotes around the... (0 Replies)
Discussion started by: vanessafan99
0 Replies

9. AIX

Bypass Read Line in profile through AIX command

Hi All, I have a complicated requirement where in I have a "root" user and a user named "xeadmin" I want to take sudo of "xeadmin" by command sudo su - xeadmin. Later i need to hit 2 enter keys as there are 2 read line commands inserted in profile of "xeadmin" and I reach command prompt, i need... (1 Reply)
Discussion started by: hiteshsathawane
1 Replies

10. UNIX for Beginners Questions & Answers

Command Understanding :- . $PWD/.profile

Hi, I am new in unix, can anyone please explain the use of:- . $PWD/.profile Thanks, Sujoy (5 Replies)
Discussion started by: sujoyrchowdhury
5 Replies
LUCKYBACKUP(8)						      System Manager's Manual						    LUCKYBACKUP(8)

NAME
luckybackup - a powerful, fast and reliable backup & sync tool SYNOPSIS
luckybackup [OPTIONS]... [FILE]... DESCRIPTION
luckybackup is an application that backs-up and/or synchronizes any directories with the power of rsync OPTIONS
--help displays this help message --version displays the current version of the application --skip-critical does not execute tasks that appear with a 'CRITICAL' warning message --dry-run executes luckybackup in dry-run (simulation) mode --silent executes luckybackup in silent mode (just tray notification icon shown) -c console mode. Use this, if there is no graphical envrironment available --no-questions skips confirmation questions asked to user. Implies -c (console mode) [FILE] is the filename of the already created profile that is going to be executed examples 1. Execute luckybackup gui : $ luckybackup 2. Execute luckybackup in silent mode for profile '~/.luckyBackup/profiles/BackupHome.profile' : $ luckybackup --silent ~/.luckyBackup/profiles/BackupHome.profile 3. Execute luckybackup in console mode for profile '~/.luckyBackup/profiles/BackupHome.profile' : $ luckybackup -c BackupHome.profile 4. Execute luckybackup in console mode for profile '~/.luckyBackup/profiles/BackupHome.profile' Do not ask any questions and skip all operations that appear CRITICAL after the checks : $ luckybackup --skip-critical --no-questions ~/.luckyBackup/profiles/BackupHome.profile SEE ALSO
For a complete documentation, please have a look at the application manual via the gui main window help menu. AUTHOR
luckybackup was written by <Loukas Avgeriou>. This manual page was written by luckyb <luckyb69@sourceforge.net>, for the Debian project (but may be used by others). 2011-01-12 LUCKYBACKUP(8)
All times are GMT -4. The time now is 04:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy