04-11-2011
Oh thanks a lot
I'm always forgetting that the output is treated as command >_>
Thanks!
And thanks for the improvement
![Big Grin Smilie](https://www.unix.com/images/smilies/biggrin.gif)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I made the fatal mistake of rename the usr directory.
I cannot run any commands due to the fact that ld.so.1 is in usr/lib/--and it doesn't exist
How can I recover my system? (1 Reply)
Discussion started by: SmartJuniorUnix
1 Replies
2. Shell Programming and Scripting
hello all
im trying to use in sun Solaris the information received from the top command
now i several machines that dont have install the top program so when im running the script im geting error
saying after im running this code :
set MemoryInfo = `top | grep Memory`
if (... (2 Replies)
Discussion started by: umen
2 Replies
3. UNIX for Dummies Questions & Answers
Hello everybody:
Im facing this weird problem on my SUN V890 running SOL9, from time to time I keep getting this error from the prompt when i press enter for blank:
OM: not found
sometimes if I entered a coomand it will give me: OM(command name):not found, but repeating the same command it... (4 Replies)
Discussion started by: aladdin
4 Replies
4. Solaris
I have found this error when i logged in as root: su -
Any body have any idea where this error coming from or what is not working?
-Adeel (1 Reply)
Discussion started by: deal732
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
when i ran a shell script ,its showing "^M: not found" errore
i used the the code
dos2unix sunshine.sh sunshine1.sh
and then again i ran the scriptand then its still showing the errore
please help me in the matter.
thanks... (3 Replies)
Discussion started by: manit
3 Replies
6. Shell Programming and Scripting
I have the script like this
- When i try to running manually it's running as well, no error
but when i put on the cronjob it give output
Somebody can help me ? (6 Replies)
Discussion started by: justbow
6 Replies
7. Shell Programming and Scripting
hello all,
In a perl script I am writing,
$dd =`expr $dd + 1`;
for adding $dd, but getting following error:
sh: +: not found
Please help!! (2 Replies)
Discussion started by: gentleDean
2 Replies
8. UNIX and Linux Applications
hi:
I had an existing script in production and I commented some lines and implemented the same. The scripts fails with a cc of 127 and I get the msg:
^M: not found
I checked the file format and it is a PC file format. Does this cause the script to fail with cc= 127.
Can somebody... (4 Replies)
Discussion started by: Meghna
4 Replies
9. Programming
i have downloaded <libncurses5-dev_5.7+20101128-1_i386.deb> and <ndk++-0.0.1alpha4.tar.bz2> which contains the header files curses.h and gtk/gtk.h ..
i have also included them using ..
#include "/home/ball/Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include/curses.h"
... (2 Replies)
Discussion started by: upvan111
2 Replies
10. Shell Programming and Scripting
I had a spot of trouble coming up with a title, hopefully you'll understand once you read my problem... :)
I have the output of an ldapsearch that looks like this:
dn: cn=sam,ou=company,o=com
uidNumber: 7174
gidNumber: 49563
homeDirectory: /home/sam
loginshell: /bin/bash
uid: sam... (2 Replies)
Discussion started by: samgoober
2 Replies
LEARN ABOUT MOJAVE
git-credential-cache
GIT-CREDENTIAL-CAC(1) Git Manual GIT-CREDENTIAL-CAC(1)
NAME
git-credential-cache - Helper to temporarily store passwords in memory
SYNOPSIS
git config credential.helper 'cache [options]'
DESCRIPTION
This command caches credentials in memory for use by future Git programs. The stored credentials never touch the disk, and are forgotten
after a configurable timeout. The cache is accessible over a Unix domain socket, restricted to the current user by filesystem permissions.
You probably don't want to invoke this command directly; it is meant to be used as a credential helper by other parts of Git. See
gitcredentials(7) or EXAMPLES below.
OPTIONS
--timeout <seconds>
Number of seconds to cache credentials (default: 900).
--socket <path>
Use <path> to contact a running cache daemon (or start a new cache daemon if one is not started). Defaults to
$XDG_CACHE_HOME/git/credential/socket unless ~/.git-credential-cache/ exists in which case ~/.git-credential-cache/socket is used
instead. If your home directory is on a network-mounted filesystem, you may need to change this to a local filesystem. You must specify
an absolute path.
CONTROLLING THE DAEMON
If you would like the daemon to exit early, forgetting all cached credentials before their timeout, you can issue an exit action:
git credential-cache exit
EXAMPLES
The point of this helper is to reduce the number of times you must type your username or password. For example:
$ git config credential.helper cache
$ git push http://example.com/repo.git
Username: <type your username>
Password: <type your password>
[work for 5 more minutes]
$ git push http://example.com/repo.git
[your credentials are used automatically]
You can provide options via the credential.helper configuration variable (this example drops the cache time to 5 minutes):
$ git config credential.helper 'cache --timeout=300'
GIT
Part of the git(1) suite
Git 2.17.1 10/05/2018 GIT-CREDENTIAL-CAC(1)