-
Senior Member
registered user
List of linux commands
For those of you needing a complete (more or less) list of Linux commands here you go.
Better yet->Kmenu>Help>UNIX manual pages. EXCELLENT RESOURCE
A few quick ways to glean info about your box-
Code:
cat /proc/pci
cat /proc/interrupts
cat /proc/bus/usb/devicecs
cat /proc/scsi/scsi
cat /proc/cpuinfo
cat /proc/cmdline
procinfo -f
free -m
X -version
df -h
du / |sort -nr|most
(will take a while on large drives)
xvidtune -show
xrandr|grep \*
nmap localhost
turn on/off energy star features:
To kill something that just won't die:
Mini How-to get shtuff done in Linux
Text editors
There are many text editors that you may choose from. Usually (not always) mc (Midnight Commander)comes with most distro because:
1)It's easy to use/learn.
2)You can install .deb and .rpm with mc.
3)It does ftp.
4)It's the same whether using a GUI or in text mode.
3) It's more nutritious than corn flakes.
Look at your Kmenu(If you use KDE of course). There should be a menu of text editors. kedit, xedit, kate (very excellent) emacs and so on. You can use any of them. Hell you can use Konqueror and default kedit for that matter just like M$ exploder. That's actually very easy to use.
*5 star tip-o-the-day*
Open a term,
konqueror
right click on any file/folder>Properties>Permissions tab
--------->If launched as root a very dangerous tool!!
It would be good to get away from using the start menu so much anyway-learn to launch apps from the CLI-many of them you can guess correctly. You can right click on the desktop>run program>blah and away you go. But the CLI is alot faster than a menu.
Alternatively, if you have a term open (I always have several) you can just enter the name of the text editor, the path and filename and away you go like this:
mcedit /etc/X11/XF86Config-4
That can be translated like this:
mc (use Midnight Commander) edit (to edit) /etc/X11/ (the path to the file) XF86Config-4 (the filename).
You can also do this:
cd /etc/X11
mcedit XF86Config-4
It's the same thing. You just don't need to provide a path because you are already there. You are said to be "in that directory". How do you know which directory you're in?
pwd
Present Working Directory
What if you don't know what the exact name of the file is?
cd /etc/X11
ls
Better yet:
The TAB key completes entries for you. Just type the beginnig letters of a path or file and hit TAB- you'll see.
To start a service on boot add a script to /etc/init.d and do:
sudo update-rc.d <scriptname> defaults
Similar Threads
-
By gwalters in forum General Support
Replies: 1
Last Post: 02-10-2005, 09:47 AM
-
By vdesibabu in forum Customising & Remastering
Replies: 0
Last Post: 01-05-2005, 05:47 PM
-
By knopphead in forum Hardware & Booting
Replies: 2
Last Post: 04-27-2004, 01:08 AM
-
By adamm in forum Tips and Tricks
Replies: 5
Last Post: 08-28-2003, 08:42 PM
-
By EmoRock in forum General Support
Replies: 3
Last Post: 08-25-2003, 03:11 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$71.49

MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ...
$89.99

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4
$79.99

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU
$45.00

Asus ROG Strix B460-H LGA 1200 ATX Intel 10th Gen DDR4 Motherboard
$84.99