LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-04-2005, 07:08 PM   #1
jimhanus
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Log In As Shell? Don't know what that means


I know nothing about Linux, but have a dedicated server for all of my websites that uses Linux. I have one domain that's starting to use up a lot of space (over 600mb, 20mb additional in one day) and I was told by the hosting company I should log in as shell and look for large files under that domain, but I have no idea of how to do that, or even if that's the right thing to do. I'm supposed to be the only one with access to this server and I can't find anything wrong using FTP. Can someone tell me how to log in and how to look around on the server? Any suggestions of help would be greatly appreciated!
 
Old 08-04-2005, 07:24 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Generally you would use SSH to log in to a shell. A shell is basically a command prompt (think like a DOS prompt but much more capable). You can use the find command to search for files greater than a certain size/ You should type "man find" (no quotes) at the prompt to read its documentation, and then type q to quit. Navigating should be reasonably OK for you if you're at all familiar with DOS. I would suggest Googling for the Rute tutorial and exposition for a good tutorial for using the shell.
 
Old 08-04-2005, 07:25 PM   #3
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
Shell is another term for a terminal or command line. Assuming you use Windows, you'll want to download a program called Putty at http://www.chiark.greenend.org.uk/~sgtatham/putty/. When you run it, type the address of your server in the box and click connect (provided your server is using the default settings; you may have a seperate URL for shell access and/or special parameters that need to be set; contact your host for details). You will be prompted for a username and a password.

When you enter the password, it is normal for characters not to show up. Once you get into the shell, you can use the following commands to navigate around :

ls - lists files in the current directory
vdir (may not be available) - more detailed information about files in the current directory. If this is not available, ls -l does roughly the same thing.
cd <path> - changes directory to <path> (replace <path> with the path you wish to navigate to)
rm <filename> - removes a file. You can replace parts with a * to indicate wildcards (typing rm *.html removes all .html files for example)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Log all of a shell script's I/O to the console and a file trevelluk Programming 8 04-18-2005 02:40 PM
pesky bash shell error every time I log in illiniguy3043 Linux - Newbie 1 06-12-2004 02:54 PM
tell me what this means in apache log naflan Linux - Security 7 03-29-2004 05:59 PM
where is "user apache" shell log? mikejrm Linux - Security 2 09-05-2003 04:29 AM
Error in my log file. Don't know what it means subzero80 Linux - Software 2 03-10-2003 08:24 AM


All times are GMT -5. The time now is 10:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration