10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
can any body tell me how to create a new directory with previous time stamp in HP-UX?.
e.g i am creating a file liketouch -t 07022013 kkk
-rw-r----- 1 feeds sys 0 Jul 2 20:13 kkksame how can i create a directory?
please help me.
Thanks & Regards,
Krupa (4 Replies)
Discussion started by: krupasindhu18
4 Replies
2. UNIX for Dummies Questions & Answers
~/assign1b/assign1/york/>
your current directory is york
how do you go back to your home directory with using relative pathname?
not using cd alone?
:( (3 Replies)
Discussion started by: blackendstars
3 Replies
3. Shell Programming and Scripting
Hello Friends is it possible to define an alias (say named as COMMAND) to pick a part of line and change my directory to picked. For example
when I type
COMMAND mfong@vhl.gov.nd/homefolder/hhk/ADS/
it would do
cd /homefolder/hhk/ADS/ (1 Reply)
Discussion started by: rpf
1 Replies
4. Shell Programming and Scripting
I am trying to create an alias to cd to a directry and ls the directory I have changed to. I have the following code;
alias cd= 'cd ; ls $@'
This just cd to the directory and ls the current directory. Any suggestions?
Thanks (10 Replies)
Discussion started by: cold_Que
10 Replies
5. Solaris
Previously , i remove the disk by
#vxdg -g testdg -k rmdisk testdg02
But i got error when i -k adddisk
bash-2.03# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:none - - online invalid
c0t1d0s2 auto:none ... (1 Reply)
Discussion started by: waibabe
1 Replies
6. Shell Programming and Scripting
Hi,
I am trying to figure out if there is a way to make linux take me back to the previous directory I was working in. For instance, I am in
/home/username/directory1
Then if I cd into /home/username/directory1/temp1/temp2/temp3
I would like to immediately go back to the previous... (2 Replies)
Discussion started by: Legend986
2 Replies
7. Linux
Hey all,
Is there any way out to get/restore the deleted file in Linux ? As we do have Recycle Bin in Windows OS.
as i deleted some files.. it is available in .snapshot
but its a large files.. i cont use "mv" command to copy back.
it there any way .. such like
in window we click restore... (1 Reply)
Discussion started by: mail2sant
1 Replies
8. Shell Programming and Scripting
I need some help to complet the below script:
DATE1=`date "+%d"`
#DATE2=`expr $DATE1 - 1`
#DATE3=$DATE2`date "+%m%y"`
DATE4=`date "+%a"`
if ; then
DATE2=`expr $DATE1 - 3`
else
DATE2=`expr $DATE1 - 1`
fi (7 Replies)
Discussion started by: sridhusha
7 Replies
9. UNIX for Dummies Questions & Answers
I am trying to create an alias for a frequently used directory path by using
alias xyz="/proj/dir_name"
and then trying to reach a sub-directoy by using
cd xyz/abc
but I get an error saying " No such file or directory "
plz tell me wats wrong with this ... (3 Replies)
Discussion started by: jasjot31
3 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
I am trying to find some files on a directory( /usr/users/xyz/log) which is an alias to another directory(/spare/log).
My find works fine on /spare/log but it doesnt return anything when i use it on /usr/users/xyz/log.
Any Ideas on how to proceed.
Thanks in advance.
Swamy (2 Replies)
Discussion started by: swamy455
2 Replies