10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. UNIX for Dummies Questions & Answers
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. 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
it would do
cd /homefolder/hhk/ADS/ (1 Reply)
Discussion started by: rpf
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
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
6. Shell Programming and Scripting
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
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
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
8. Shell Programming and Scripting
I need some help to complet the below script:
#DATE2=`expr $DATE1 - 1`
if ; then
DATE2=`expr $DATE1 - 3`
DATE2=`expr $DATE1 - 1`
fi (7 Replies)
Discussion started by: sridhusha
9. UNIX for Dummies Questions & Answers
I am trying to create an alias for a frequently used directory path by using
and then trying to reach a sub-directoy by using
but I get an error saying " No such file or directory "
plz tell me wats wrong with this ... (3 Replies)
Discussion started by: jasjot31
10. UNIX for Dummies Questions & Answers
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