Search Results

Search: Posts Made By: cleansing_flame
2,646
Posted By cleansing_flame
Problem with alias and invisible text
okay how do i make an alias that has a space in it?

for most of my other ones i've simply done within my ~/.bash_profile

alias `ls`='ls -laF'

but with

alias `sudo su`='sh hello.sh'
I'm...
Forum: Programming 02-27-2008
2,965
Posted By cleansing_flame
i tried : `gcc ./cprog.c` and ...
i tried :

`gcc ./cprog.c`

and

`gcc ./cprog.c -o ./cprog`

nothing worked, thanks though
Forum: Programming 02-26-2008
2,965
Posted By cleansing_flame
Problem with Compiling C on Tiger
I've downloaded Xcode and i've done :
which "gcc"
which "ggc-4.0"
and which "c99"

all were found in /usr/bin/

however with the script

#include <stdio.h>

main()
{
printf("hello,...
4,090
Posted By cleansing_flame
compressing a directory
I have a pretty large directory on a backup hard drive.

I have Tiger for an OS, what would be the best way to compress this directory. there is a large number of files inside in addition if that...
1,933
Posted By cleansing_flame
thanks a lot
thanks a lot
1,933
Posted By cleansing_flame
Quoting problem with `date`
I'm trying to take the command `date` giving me:
Fri Feb 22 09:23:52 EST 2008

and using some command take out the rest of the string leaving me with

"Fri Feb 22"

any help appreciated...
1,907
Posted By cleansing_flame
Alias problem
i'm trying to get the alias

alias "sudo su"=`sh script.sh`

whats wrong with this and how can i make an alias that has a space in it
Forum: Solaris 02-17-2008
13,608
Posted By cleansing_flame
on the same topic, how do i edit the boot...
on the same topic, how do i edit the boot sequence on Mac's Tiger OS

any help appreciated
4,379
Posted By cleansing_flame
changing the DNS on a mac server
can anyone help on this subject, i'm pretty much at a loss

any help appreciated
thanks in advance hopefully
6,429
Posted By cleansing_flame
problem with if statement equality
Here's my script:

/bin/script.sh ...
3,908
Posted By cleansing_flame
thanks, but sadly that didn't work either
thanks, but sadly that didn't work either
3,908
Posted By cleansing_flame
what is wrong with this tr -d?
here is my command in bash shell on Mac OS X tiger:

history | tr -d emacs

here is what I get:

hitory | grp "" | tr -d ""
hitory | grp "" | tr -d """"
hitory | grp "" | tr -d...
12,825
Posted By cleansing_flame
Sorry, that really didn't help, it may make sense...
Sorry, that really didn't help, it may make sense to you, but sadly not to me.
Here is my problem:

I do the command in a bash shell: history | grep "emacs"
and I get:

35 emacs new.txt
37...
12,825
Posted By cleansing_flame
Help with the History command
How do I make the history command, in addition to the past commands, display the hard path to the place where i modified or did my past action?

thanks in advance
2,944
Posted By cleansing_flame
thank you very much
thank you very much
2,944
Posted By cleansing_flame
Problem with history and grep
okay, i did the command: echo `history` >> /new.txt

i got a long line, which due to the size of my screen, it made 3 lines.

i then tried the command: grep emacs new.txt
while in root

and i...
2,436
Posted By cleansing_flame
problem with crontab
i added to my crontab file:

* * * * * echo "hello"

it works, i receive a message into my /var/mail/username

and i receive: bob

in addition to a large text add-on
any help appreciated
1,676
Posted By cleansing_flame
How to view and recognize a backup drive
on Darwin terminal how do i do it?
Forum: Programming 01-29-2008
2,891
Posted By cleansing_flame
i downloaded xcode thats it
i downloaded xcode thats it
Forum: OS X (Apple) 01-29-2008
4,090
Posted By cleansing_flame
Mac OSX kernel
is there anyway of looking at, and if possible, modifying it?
Forum: Programming 01-29-2008
2,891
Posted By cleansing_flame
that got rid of the errors, but now the printf()...
that got rid of the errors, but now the printf() function does not output
Forum: Programming 01-28-2008
2,891
Posted By cleansing_flame
help on compiling a C program on Tiger
here is the very simple bob.c:

main()
{
printf("hello");
}

i use tiger and i use the command:
gcc bob.c

and the end result:

bob.c: In function ‘main':
bob.c:3: warning:...
3,863
Posted By cleansing_flame
yea, i'm trying to remove only the name of the...
yea, i'm trying to remove only the name of the user, or the "a" part in this case
3,863
Posted By cleansing_flame
Taking a name out of $PATH
so here is my path:

/usr/bin:/bin:/usr/sbin:/sbin:/Users/a:/usr/local/bin:/usr/X11/bin

how would I remove only the "a" or name string within it?

any help appreciated
5,901
Posted By cleansing_flame
your right it is weird, but i'd like to try it in...
your right it is weird, but i'd like to try it in .sh
Showing results 1 to 25 of 37

 
All times are GMT -4. The time now is 05:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy