10 More Discussions You Might Find Interesting
1. Linux
Hello people
I have a small fileserver running busybox (very small linux distro with most essential stuff on it) and I am trying to remove some unused directories on it.
When I try this:
rm -R test/I get:
rm: cannot remove 'test': No space left on devicedf shows:
Filesystem ... (8 Replies)
Discussion started by: GTCG
8 Replies
2. Shell Programming and Scripting
i have this code num=1
dat10=`date "+%m/%d/%Y" -d "+10 days"`
dat=`date "+%m/%d/%Y"`
set -x
grep "text=.&" /root/Softwares/apache-tomcat-5.5.30/logs/catalina.out|awk -F"from=" '{print $2}'|awk -F"opid" '{print $1}'|sort|uniq > pnos
while read line
do
psql -U poss -d emsver -c "insert into... (3 Replies)
Discussion started by: nikhil jain
3 Replies
3. AIX
Here we go with a dumb question.
I am admin for a couple of old aix 5.2 and 5.3 machines and I am wondering if there is a way for me (without driving 500miles) to find out if there is room for additional hard drives in my machine.
Google is once again *sight* helpless... (5 Replies)
Discussion started by: plmachiavel
5 Replies
4. UNIX for Dummies Questions & Answers
hello all,
i have a proc binary that we run on unix environment, and it is generating this error
'' tstfile(): No space left on device ''
can you please assist on how to narrow down the problem?
thanks (4 Replies)
Discussion started by: mjdbouk
4 Replies
5. Solaris
We are using this function tmpfile() :
FILE *tmpfp ;
if ((tmpfp = tmpfile()) == NULL)
{
fprintf(stderr, "%s: ERROR: init_operator(): ", ROUTINE);
perror("tmpfile()");
exit(ERR_OPEN);
}
and the above is raising error :
MSMD0603: ERROR:... (3 Replies)
Discussion started by: atiato
3 Replies
6. Shell Programming and Scripting
I am new to bash scripts I need something quite easy to do in VBS,
When I wanted to get the first 5 chars I used funcition right(5,strGet)
how can I do the same in bash?
I am trying to get the MAC address in Ubuntu I have done so far
ifconfig wlan2 | grep HWaddr | awk '{print $5}' | sed -e... (3 Replies)
Discussion started by: 4scriptmoni
3 Replies
7. UNIX for Dummies Questions & Answers
Hi
A question about numeric display there...
Is there any option in awk that would prints a number with "left filled with zero" format, and how does it work with variable length definition?
For instance IŽd like my variable to be left filled with 0s for a length of 3 in total:
4 would be... (3 Replies)
Discussion started by: Indalecio
3 Replies
8. UNIX for Dummies Questions & Answers
hi
i have a file which is like this :
aab ghj
ghj lsklk
lklkl;
ashjd
kjs
alskj
How do i remove the spaces from the beginning of a line so that all lines are indented to the left? (1 Reply)
Discussion started by: napolayan
1 Replies
9. Shell Programming and Scripting
Hi All,
I have a set of data and i want to arrange it in a neater way.
Is there any ways i can align each term to the left such that every field start on the same vertical point
Actual Data
111111 bbb dddd zz
111111 bbbbbb dddd zz
111111 bbbbbbbbb dddd zz
111111 aa dddd zzz (2 Replies)
Discussion started by: Raynon
2 Replies
10. Shell Programming and Scripting
I have a script which loop through a directory then report any file matches the given pattern,
say, the pattern is "a2006", this file would be returned
a20061101.txt
I would like to know how can I get the remaining of the filename, so
a20061101txt - a2006 = 1101.txt
Can anybody help? Thank... (2 Replies)
Discussion started by: mpang_
2 Replies