Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having one more doubt.....regarding hidden files in linux.
If i go with "ls -a" I can see all the hidden files....my doubt is
1.who creates those hidden files
2.what data will be inside those hidden files.
----------------------------------
In my linux Redhat 6.2 server edition....if I go with "ls -a " I can see 2 hidden files with dark blue color....2 files are
1.single dot[.]
2.double dot[..]
Trouble with scripting.......
Below is the script which I wrote but giving the error .i : COMMAND NOT FOUND IN LINE 5
------------------------------------------
i=5
while test $i != 0
do
echo "$i"
i=`expr $i - 1`
done
----------------------------------------
PLEASE HELP ME
you have a root directory represented by a /. All of the subdirs inside are named as /dir1, /dir2, /dir_whatever.
All of these subdirs can have subdirs, like /dir1/subdir1 /dir5/subdir9 and so on. This structure can be represented as a tree - beginning from its root - so usually it is called directory tree. All of the available stuff in a linux can be found in a directory, somewhere in this directory tree.
I think you need to go back and look at your notes on testing strings and testing numbers in bash. May I also add, (()) is preferred over [[]] when doing arithmetic tests as standard
mathematical symbols may be used, ie. like <, >, etc
hey I need one more script
That will print the wishes like gud morning,eveng n night.....whenever system gets booted.......?
it should print automatically
hey I need one more script
That will print the wishes like gud morning,eveng n night.....whenever system gets booted.......?
it should print automatically
If you need a script, then WRITE IT YOURSELF. You've been pointed to bash scripting guides before, and can easily find lots more via Google. We'll be glad to HELP you, but you need to show some effort on your part. Post what you've written/done, and where you're stuck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.