Computing.Net > Forums > Linux > Find,Files...Folders......

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Find,Files...Folders......

Reply to Message Icon

Name: nsrd_in
Date: July 9, 2002 at 03:36:34 Pacific
Comment:

Hey guys,
I am running Mandrake Linux 8.2 i just wanted to enquire is there and file or folders searching tool lyk windows has one!
and wanted to know the command to go back to the console mode.i tried feeding init 3 and init 5 but it says:command not found!

And i also wanted to know what are ".bin" files?

Thanx in advance for helping me!
nishant.




Sponsored Link
Ads by Google

Response Number 1
Name: jon
Date: July 9, 2002 at 04:38:48 Pacific
Reply:

dropping to command? have fun you have alot more control at the expence of alot of commans/options

this drop back to command mode - do you mean full cli (ie no X running) if so do you want it to boot to cli. if yes edit /etc/inittab and near the begining you should see

id:5:initdefault:

change the 5 to 3 to boot to cli by default

if you mean switch to cli while running you can call "init 3" but you must have "su" in a command window.

another way is to press CTRL-ALT-F1 to switch to full screen cli (CTRL-ALT-F7 to get back to X) But why don't you just stay in X and use Xterm/Gnome-terminal and su to root for power control?


To find a file at cli use at /:
#find | grep FILE

where FILE is the file you want

for directories try this

#ls -l | grep ^d | grep DIR

where DIR is the name of the dir you want


if you have a file and you don't know what it is (remember extensions under linux are for the convinience of the user and not a key part - although X uses it to tie icons to certain files)

the command

#file FILE

will read the first few bytes of the file FILE and tell you what it is ELF files are linux exe files

.bin files are normally binary executables or script executables - use the "file" command to find out what


hope this is of help

J


0
Reply to Message Icon

Related Posts

See More


VMWARE Linux security



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Find,Files...Folders......

need help on finding files www.computing.net/answers/linux/need-help-on-finding-files/6635.html

Shared Files folder XP / RedHat 7.2 www.computing.net/answers/linux/shared-files-folder-xp-redhat-72/16514.html

find file in linux www.computing.net/answers/linux/find-file-in-linux/9503.html