1) I can't get alias to work. I tried alias ll='ls -al', but it doesn't work. When just typing 'alias', the new definition doesn't appear. I'm in a bash shell -- is that the problem. I tried switching to csh, but that didn't seem to help. This brings me to my second question.
2) How can I tell what shell I am in? I thought I was in the bash shell so I typed "csh". The shell prompt remained as $.
I'm in the BASH shell, and your alias works fine for me. Are you using BASH, or just sh?
Also, are you using these aliases in the shell, or in a script? Aliases are usually turned off in scripts, but you can enable them with 'shopt -s expand_aliases'.
quoting ''man bash':
'SHELL' holds the user 'login shell' - which does not change when you change your shell interpreter [bash -> csh]. WHereas '$cho $0' gives you your current shell interpreter in a given shell [regardless of your 'login shell'].
hello,
first, I'm quite new to solaris.
I've installed solaris 10 basic (item 4 on the install-menue).
now I had to realize that I don't have any option for connecting the machine from remote. ssh isn't even installed although I've coosed 'yes' for remote access. no matter what solaris is... (10 Replies)
Hi all
today i gone through worst interview of my life that for hour questions were so basic but i never though about them now i am figuring out answers my self but i would appreciate if you ppl help me ... i am listing some of the questions i remember ..
1 )
$ cat a.sh
#! /usr/bin/ksh... (4 Replies)
I have multiple questions
How to list or find only Nov month's files?
How can I get state of process like running, stop, or sleep etc?
How can I check dependences of processes?
plz ans any if u can
thx regards,
Mazhar Hussain (3 Replies)
when you see something like this
export SOMEDATA=.:/somedir/files
what does the ".:" mean?
I think the the "." alone would mean current directory but the ":" together is kind of new to me. (6 Replies)
I'm trying to find out what all is involved with setting up SFTP?
1) Do Solaris machines come with a SFTP server and client already installed.
2) If so would I have to install SFTP clients on windows, if I want to transfer files to a Solaris box?
3) If SFTP doesn't come prepackaged would I... (1 Reply)
Hey, I'm new to Linux. I have a few questions about it. I run Slackware.
After the installation the Linux installation had problems with my old hardware (network card, sound card) so I removed them and Linux would start.
But now, I can't seem to use the network card in Linux because it's not... (3 Replies)