The mechanism I have shown you is the simplest. You are welcome to make things more complex for yourself.
As porter said, this is more difficult and gets the same results as his suggestion, but if you really wanted to grep and cut the /etc/passwd file you could:
or awk
when i compile *.cpp files the compiler didn't find the non standart includes.If i have to put the full path of the includet files
where shall i begin from root dirctory or i heve to put includet files in cpp home directory???
can i compile java files in unix(linux mandrake 7) if yes haw... (3 Replies)
Hi All,
I am newbie for Unix. I want to copy a directory from one location to other. Can any one help me by providing the command to do following task.
thanks in advance,
Rakesh (2 Replies)
Hi,
Just want to be sure that if I write a directory like:
/documents/script.pl
is the same as to write:
/documents//script.pl
Thanks in advance (1 Reply)
Hi,
I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP.
The aim is to... (1 Reply)
May i know how can i pass up one of a location to a variable in script file with command in stead of hardcode?
saying in my script file:
maindir = "/opt/xSystem/config"
upOneDir = ?????
echo $upOneDir
I have to use command to pass "/opt/xSystem"
to variable upOneDir.
Please... (5 Replies)
is there any other useful command to go into a specific directory and not go into its subdirectories that operates similar to find.? (it will return the full pathname?) or is there any way to make find not go into the subdirectories of the specified directory? This is on ksh as well. (3 Replies)
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
hi all,
i am new to UNIX environment.
i have a file and directory with same name, i don't know the location
I want to find location of that file and directory.
please suggest a solution. (5 Replies)
Hello,
I've just started using a Solaris machine with SunOS 5.10.
After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init).
... (2 Replies)