9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
2. Solaris
Hello Gurus,
I need your help with this please. I am trying to move a zone to a new directory but it keeps failing.
Below is what I did and the message I get. Your help will be appreciated.
Thanks
zoneadm -z testzone move /rpool/testzone
cannot create ZFS dataset rpool/testzone: dataset... (1 Reply)
Discussion started by: cjashu
1 Replies
3. Programming
I am new to Linux system programming, and I found the sophisiticated definition of some library function differ a lot with what I learnt in classes.
Here is the question:
what does the suffix of function `chmod' in sys/stat.h mean. The funtion claimation is like following:
extern int... (5 Replies)
Discussion started by: JackCrital2005
5 Replies
4. Web Development
hi,
I need a quick information about storing images into mysql databases.
Is more convenient to store a path to the filesystem folder in which the images are stored, or is possible to directly store the images into my tables ?
thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies
5. Shell Programming and Scripting
I have the following FTP embedded in a Ksh script on AIX 5.3
ftp -n <<WHATEVER
open 10.101.26.218
user hcistats *******
ascii
put $thupdatefile
put $thcollectfile
quit
WHATEVER
Here is what my script returns:
... (3 Replies)
Discussion started by: troym72
3 Replies
6. Shell Programming and Scripting
Hi ,
I have a typical situation. I have 4 files and with different headers (number of headers is varible ).
I need to make such a merged file which will have headers combined from all files (comman coluns should appear once only).
For example -
File 1
H1|H2|H3|H4
11|12|13|14
21|22|23|23... (1 Reply)
Discussion started by: marut_ashu
1 Replies
7. Shell Programming and Scripting
Hi,
I'm trying to strip all lines between two headers in a file:
### BEGIN ###
Text to remove, contains all kinds of characters
...
Antispyware-Downloadserver.com (Germany)=http://www.antispyware-downloadserver.c
om/updates/
Antispyware-Downloadserver.com #2... (3 Replies)
Discussion started by: Trones
3 Replies
8. UNIX for Advanced & Expert Users
ok I'm new here but I'm no dummy when it comes to unix
i was wondering if there was a system path variable or any way to get one.
EX.
>ls /
would return:
home
root
tmp
var
media
Debian-linux
Debian-bsd
redhat
with the Debian-linux and Debian-bsd and redhat contaning the... (1 Reply)
Discussion started by: Genral
1 Replies
9. UNIX for Dummies Questions & Answers
HI there people!!
I'm really new with this great OS. I just installed a RedHat Linux 7.1 on my unit. Got it to work on dual boot with my Windows 2000. And I have some problem... how do i change/modify the system environment path? Thanks... and sorry for the ignorance ;) (5 Replies)
Discussion started by: spine_me
5 Replies