LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-16-2003, 10:36 AM   #1
fhameed
Member
 
Registered: Oct 2003
Location: Pakistan
Posts: 59

Rep: Reputation: 15
linux commands problem


Hello

I'm a newbie to linux and i have managed to install and put linux on network/internet.

I want 2 use linux just as i use windows.

My question:How can i know what application is installed on my linux box and how do i run those applications(commands plz)..like if i want 2 run notepad in windows i just click on the notepad icon and it runs..

likewise can any body give me an idea how to run the .exe files of programs that i have on my system..i'm just clueless when it comes to running a text editor or any other application..i hope everyone gets the root of my problem..

I run command line linux purposely because i think that's where the real power lies..

Help plzz

thank you
 
Old 11-16-2003, 10:50 AM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
You can run some exe files using wine
exe files are windows executables (usually of a type called PE)
These needs special windows functions to run properly, and wine has some of those. Not all programs will run, and they won't run perfectly.

Good work getting used to the commandline is good.
All applications are listed in

/usr/bin
/sbin (those are system programs usually)
/usr/local/bin

If you want help with one of those programs type
man <name>
or
info <name>

To get info on a subject type
apropos <subject>
and it'll list which man/info file it is in

Try using midnight commander too
It'll make consoles a lot simpler at first
type:

mc

I have to run, but if you want more info do tell, and I'll post more
 
Old 11-16-2003, 10:51 AM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Quote:
I want 2 use linux just as i use windows.
Really? :boggle: Why install Linux? It works much differently.
Quote:
My question:How can i know what application is installed on my linux box and how do i run those applications(commands plz)..like if i want 2 run notepad in windows i just click on the notepad icon and it runs..
That depends upon what you installed. Different distros use different package management tools and query methods. Linux desktops have point and click stuff similar to Microsoft Windows apps.
Quote:
likewise can any body give me an idea how to run the .exe files of programs that i have on my system..i'm just clueless when it comes to running a text editor or any other application..i hope everyone gets the root of my problem..
If you have .exe files, those are designed to run on some flavor of Microsoft Windows OS. You will have to run those in a MSFT OS or you will have to install wine, a windows emulator program.

Handy bash commands for finding out stuff in Linux:
# Find CPU specifications
cat /proc/cpuinfo

# Find running kernel version
uname -r

# What compiler version do I have installed
gcc -v
gcc --version

# What is the running kernel and compiler installed
cat /proc/version

# Find X server version
X -showconfig

# What pci cards are installed and what irq/port is used
cat /proc/pci

# Memory and swap information
cat /proc/meminfo
free
An article: Tips for Optimizing Linux Memory

# How are the hard drives partitioned
fdisk -l

# How much free/used drive space
df -h

# Show disk usage by current directory and all subdirectories
du | less

# What takes up so much space on your box
# Run from the directory in question and the largest chunk shows up last
find $1 -type d | xargs du -sm | sort -g

# What is the distribution
cat /etc/.product
cat /etc/.issue
cat /etc/issue
cat /etc/issue.net
sysinfo

# For finding or locating files
find
locate
which
whereis

# Use dmesg to view the kernel ring buffer (error messages)
dmesg | less

# Watch error messages as they happen (sysklog needed)
as root, tail -f /var/log/messages (shows last 10 lines, use a number in front of f for more lines)

# What processes are running
ps -A

# Find a process by name
ps -ef | grep -i <plain text>
For example, XCDroast
ps -ef xcdroast

# See current environment list, or pipe to file
env | more
env > environmentvariablelist.txt

# Show current userid and assigned groups
id

# See all command aliases for the current user
alias

# See rpms installed on current system
rpmquery --all | more
rpmquery --all > <filename>
rpmquery --all | grep -i <plaintext>

Autospec for tarballs
RPM tools

# What directory am I using
pwd

# Get ls colors in less
ls --color=always | less -R

Look at man <command> or info <command> for the flags I used and for other options you can use for bash commands.
 
Old 11-17-2003, 09:27 AM   #4
fhameed
Member
 
Registered: Oct 2003
Location: Pakistan
Posts: 59

Original Poster
Rep: Reputation: 15
mid night commander not running

Hello

Thanks to everybody for the feedback.

i tried running midnight commander but it didn't run.

i typed mc and nothing happened.

How do i install it from CD(commands)..i heard someone say somthing about rpms ...way back..any ideas..

i'll definetely try the rest of the commands you people recomended.

Thank you.

fhameed.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with some commands.. kurrupt Slackware 13 02-14-2005 10:21 PM
Commands in linux Skills Linux - Newbie 2 09-30-2004 11:35 AM
Problem about ports commands satimis *BSD 2 06-06-2004 10:23 AM
linux commands andox Linux - Newbie 2 07-05-2003 07:56 AM
Linux commands.... nero64 Linux - Newbie 2 12-07-2002 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:42 AM.

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
Open Source Consulting | Domain Registration