silverpig
Lifer
- Jul 29, 2001
- 27,703
- 12
- 81
Originally posted by: asadasif
Hmmm... what's vi?
vi is a text editor. It's pretty fully featured, and rivals emacs.
I usually just use something simpler for editing config files. nano is my choice.
Originally posted by: asadasif
Hmmm... what's vi?
Originally posted by: silverpig
Originally posted by: asadasif
Hmmm... what's vi?
vi is a text editor. It's pretty fully featured, and rivals emacs.
I usually just use something simpler for editing config files. nano is my choice.
Originally posted by: nweaver
sudo vi /boot/grub/grub.conf (i think) and change the default option (it starts at zero)
Originally posted by: asadasif
Originally posted by: nweaver
sudo vi /boot/grub/grub.conf (i think) and change the default option (it starts at zero)
What's the default root password? When typing the command, it asks for a password. There isn't a grub.conf file there when I go there through the gui.
File extensions usually don't mean anything in *nix, although you still see them. Mostly as a guide to the user. Executable files generally have no extension so foo.exe in windows is just foo in linux. Text files sometimes have .txt as an extension, sometimes have something describing what they do, like foo.properties, or none at all, like README.Originally posted by: asadasif
Also, what are the equivalent file types in Ubuntu? e.g. exe ---> ?, txt ----> ? and so on.
Originally posted by: asadasif
Thanks guys!
What is the syntax for using the file command?
Also, is there any listing of common commands for Ubunu like in Windows, you just go the command prompt and type in help and it displays all the commands commonly used.
Originally posted by: asadasif
Thanks guys!
What is the syntax for using the file command?
Also, is there any listing of common commands for Ubunu like in Windows, you just go the command prompt and type in help and it displays all the commands commonly used.
Originally posted by: xtknight
Originally posted by: asadasif
Thanks guys!
What is the syntax for using the file command?
Also, is there any listing of common commands for Ubunu like in Windows, you just go the command prompt and type in help and it displays all the commands commonly used.
In my opinion here are some common commands. help in Linux does show some rather advanced/uncommon commands (most of them) but I'm not sure what all of them do. Here's the ones I use the most.
cp (copy)
mv (move/rename)
rm (remove; delete)
cat (concatenate; one use is for previewing text files to the console)
ls (list folders/files)
dd (disk druid...for doing some advanced disk-related things)
fdisk (quite different from fdisk in DOS but same idea)
cd (change directory)
md (make directory, same as mkdir)
updatedb (updates your file index for searching disk)
locate (locates a file within your file index)
linux32 (only applicable to 64-bit Linux, but basically this runs 32-bit apps)
logout/exit (gets out of shell so you can login as a different user)
su (super user; goes in to root (Administrator) mode)
sudo command (do one operation in super user mode)
file file (look up type of file)
gedit file (desktop only command; edit file with GNOME editor; much better interface than vim)
grep (great tool! use it for finding text from stdin and a pipe; for example: ps -aux | grep artsd will find the arts sound server)
ps (Unix command to list running processes; usually use ps -aux)
top (task manager app that shows CPU and memory)
man (guide/manual for the program you specify)
mount (mount device (disk drive, DVD+RW, thumb drive, etc.) to mount point)
umount (unmount device)
And here's a tip. If you start a program from a desktop mini-console ("Xterm" or "Konsole"), put a space and an ampersand (&) after the program name. That way it won't tie up the console from which you started the program. Even knowing all that I'm pretty much a Linux n00b still, but I can help you with the really basic stuff. I'm pretty good at configuring GNOME/KDE now. Meet GNOME/KDE, your desktop environments.![]()
Originally posted by: asadasif
Thanks!
I made a folder and mounted my Windows drive for access in Ubuntu. The files I copied from that drive copied fine but there's a red colored circle with a line across the center on the file icon. How can I remove this red colored shape from the icon?
Originally posted by: xtknight
Originally posted by: asadasif
Thanks!
I made a folder and mounted my Windows drive for access in Ubuntu. The files I copied from that drive copied fine but there's a red colored circle with a line across the center on the file icon. How can I remove this red colored shape from the icon?
Odd. I've never seen that before. This circle is on all the files you copied off? Is it only on the files on the original partition or is it only on ones you copied to your Ubuntu partition? Both?
Err, that's missing the rather obvious and far more useful man. If you want to know how all the details of how to use a command, type man command (or man man for an intro to thatOriginally posted by: silverpig
Originally posted by: asadasif
Thanks guys!
What is the syntax for using the file command?
Also, is there any listing of common commands for Ubunu like in Windows, you just go the command prompt and type in help and it displays all the commands commonly used.
usually something like
command -h
or
command --help
will give you the proper usage
In the case of file it's just
file <file you want to check>
Originally posted by: kamper
Err, that's missing the rather obvious and far more useful man. If you want to know how all the details of how to use a command, type man command (or man man for an intro to thatOriginally posted by: silverpig
Originally posted by: asadasif
Thanks guys!
What is the syntax for using the file command?
Also, is there any listing of common commands for Ubunu like in Windows, you just go the command prompt and type in help and it displays all the commands commonly used.
usually something like
command -h
or
command --help
will give you the proper usage
In the case of file it's just
file <file you want to check>) and it will pop up a page with the complete description, assuming the package maintainer has done the work they're supposed to
If you know roughly what you want to do, but don't know the exact command, type apropos search term and you'll get a list of suggestions.
Originally posted by: asadasif
Where can I find drivers for the Creative 24bit Live! chipset on my mobo (MSI K8N Neo4 Platinum SLI) ? I have using it for some time now but didn't think about the 'no sound' problem till now.... 0.o
