LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-06-2009, 10:42 AM   #1
IwannaSlack
Member
 
Registered: Jul 2008
Location: Maryland
Distribution: Failing at Linux
Posts: 106

Rep: Reputation: 15
Slackware Functional Commands


I've been back slipping in between the Slackware and windows and then Slackware again. Now my computer pretty much caught on fire (very long tragic story). So I bought a brand new mini notebook. To hold me over until I can rebuild a decent computer. Put Slackware on it. The issue are now is that I got put into a lab (where I work) of basically all Linux box's. Everyone has a distro they wanted to use in the Lab. So I said toss in slackware in the lab for me. The next day I went in the lab it was added to the boot of all the computers. The problem is I don't feel like I don't know alot of functional commands to properly navigate through command line. To at least be pretty functional in linux. To even be useful with my other colleagues. I feel like I never truly used the distro at the level I should have from the time I started trying to use it.

Also a side questions what's the major differences between Slackware live cd's LiveSlax and Slackware installs? I keep a liveslax cd around me. For my practice I suppose.

Last edited by IwannaSlack; 11-06-2009 at 10:45 AM.
 
Old 11-06-2009, 10:55 AM   #2
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current
Posts: 746

Rep: Reputation: 64
Quote:
Originally Posted by IwannaSlack View Post
I've been back slipping in between the Slackware and windows and then Slackware again. Now my computer pretty much caught on fire (very long tragic story). So I bought a brand new mini notebook. To hold me over until I can rebuild a decent computer. Put Slackware on it. The issue are now is that I got put into a lab (where I work) of basically all Linux box's. Everyone has a distro they wanted to use in the Lab. So I said toss in slackware in the lab for me. The next day I went in the lab it was added to the boot of all the computers. The problem is I don't feel like I don't know alot of functional commands to properly navigate through command line. To at least be pretty functional in linux. To even be useful with my other colleagues. I feel like I never truly used the distro at the level I should have from the time I started trying to use it.
So what exactly is your question?

Cheers, Leon.
 
Old 11-06-2009, 11:52 AM   #3
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
Iwannaslack,

What is it you need to do in the lab? (What kind of lab is it?) Can you use a desktop environment (KDE)? Are you looking to edit text files? Do you need to copy or move files around? Do you need to know the basic file/directory structure? Do you need to visit web sites?

I get what you mean about "functional commands to properly navigate through command line." Command line usage is no longer essential for most computing tasks, but it can be exceptionally powerful and efficient when you get to know them.

Check out the following links:
Good luck,
 
Old 11-06-2009, 01:21 PM   #4
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
I take it you are used to all the GUI programs on the other distros?

If so, just do the following:
Code:
cp /etc/X11/xinit/xinit.kde /home/your_user/.xinitrc
startx
And you will be up and running KDE.

If you don't know KDE and prefer Gnome then you have to go with third party packages and request it be installed for slackware.

Other than that, slack isn't really any different. All the commands are there.

Unless you are going to be doing root access stuff on the OS, then you should take a look at pkgtools and slackware's initialization process.

It would help to know what you are going to be doing with the system at work.
 
Old 11-06-2009, 02:22 PM   #5
corbis_demon
Member
 
Registered: Jun 2004
Location: India
Distribution: Slack 13
Posts: 497

Rep: Reputation: 35
Xfce would also be a very good option. Pretty good GUI and also quite low on resource-use compared to other behemoths. Also, it comes bundled with the latest Slack, so no need to install external libs to make it work. As LJS says, the Slackbook is a great place to get started.
 
Old 11-06-2009, 02:38 PM   #6
IwannaSlack
Member
 
Registered: Jul 2008
Location: Maryland
Distribution: Failing at Linux
Posts: 106

Original Poster
Rep: Reputation: 15
I was trying to quote everyone but that was not exactly working out so instead I am going to try to answer all the questions in this post. I mean I know some commands that I can think of off the top of my head. I know the startx(first command I learned I forgot to install KDE one time). ifconfig, poweroff,reboot,alsamixer,adduser,fstab somethings I know off the top of the head. Some what I would like to know is navigating through folders via command line. Using wifi in multiple mode
s like promiscuous mode. Or capture mode I have heard them used interchangeably. One they use often is netmap, tcpdump or something like that. been using Slack on and off since 7 and I am familiar with KDE this new XFce is all new to me.

Also they telnet into they telnet into the other box's all the time. I feel behind.

Last edited by IwannaSlack; 11-06-2009 at 02:49 PM.
 
Old 11-06-2009, 04:39 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,289
Blog Entries: 3

Rep: Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446
Hi,

The only way to learn something on the 'cli' is to attempt to perform the task(s) that you wish to gain experience from.
You can read all the cookbooks, recipe or reference docs but until you get the hands on then learning will not be benefited. Experiment, read then experiment some more.



Just a few links to aid you;

SlackwareŽ Essentials
SlackwareŽ Basics
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Advanced Bash-Scripting Guide
Virtualiation- Top 10

These links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 11-06-2009, 07:02 PM   #8
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
To navigate to a folder is easy,, just cd [change directory]

cd /usr for instance.

To navigate to a folder within a folder or a folder within a folder within a folder is more tricky because you need to know where the folder is to begin with:

cd /usr/lib

cd /usr/lib/autofs
 
Old 11-07-2009, 01:24 AM   #9
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware 12.1, slackware64-current
Posts: 255

Rep: Reputation: 43
mc - for file operations
nano - text editor
mocp - console audio player

Bash 'tab' completion is useful, same for 'history' (or 'history | grep SEARCHWORD') command history.
'ls' or 'dir' shows directory contents.
'top' shows running processes, 'htop' achieves the same with friendlier interface.

'mkdir'
'rm'
'cp'
'ln'

'ssh' lets you to log in to a remote machine.
'sshfs' can mount remote machine filesystem to a local folder.
'man' displays manual pages.

I'm not cli literate, these are just few helpful utilities i mostly use.
 
Old 11-07-2009, 03:08 AM   #10
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
http://www.oreillynet.com/linux/cmd/
 
Old 11-07-2009, 05:27 AM   #11
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Sometimes the apropos command helps find the command you are looking for. It can produce more than you need so you may like to filter the results, for example
Code:
apropos directory | grep -E '(\(1\))|(\(8\))'
Many man pages have a "SEE ALSO" section that lists related commands.
 
Old 11-10-2009, 10:56 AM   #12
IwannaSlack
Member
 
Registered: Jul 2008
Location: Maryland
Distribution: Failing at Linux
Posts: 106

Original Poster
Rep: Reputation: 15
Can someone tell me how to connect to remote wireless networks via command line. Also some other questions I want to open up a box to connect via telnet. how can i get aircrack to work with slackware. they're is also a command to see all currently connected people.

Also this thread is actually helping me thanks everyone who contributed.

Last edited by IwannaSlack; 11-10-2009 at 10:58 AM.
 
Old 11-10-2009, 01:13 PM   #13
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,289
Blog Entries: 3

Rep: Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446
Hi,

Quote:
Originally Posted by IwannaSlack View Post
Can someone tell me how to connect to remote wireless networks via command line. Also some other questions I want to open up a box to connect via telnet. how can i get aircrack to work with slackware. they're is also a command to see all currently connected people.

Also this thread is actually helping me thanks everyone who contributed.

I use the below;

Code:
sample 'wlan.sh';

#!/bin/bash
#
#10-26-09 13:30 gws
#setup the bcm4312 wlan0 device
#
/sbin/ifconfig wlan0 192.168.1.18
/sbin/route add default gw 192.168.1.1
/sbin/iwconfig wlan0 essid "your_ap"       <<- your wireless
/sbin/iwconfig wlan0 key your_key          <<- your_key
/sbin/iwconfig wlan0 ap 00:00:00:00:00:00  <<- your ap
You should read the LQ rules;

Quote:
excerpt from 'LQ rules';

Posts containing information about cracking, piracy, warez, fraud or any topic that could be damaging to either LinuxQuestions.org or any third party will be immediately removed.
 
Old 11-13-2009, 01:17 PM   #14
IwannaSlack
Member
 
Registered: Jul 2008
Location: Maryland
Distribution: Failing at Linux
Posts: 106

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by onebuck View Post
Hi,




I use the below;

Code:
sample 'wlan.sh';

#!/bin/bash
#
#10-26-09 13:30 gws
#setup the bcm4312 wlan0 device
#
/sbin/ifconfig wlan0 192.168.1.18
/sbin/route add default gw 192.168.1.1
/sbin/iwconfig wlan0 essid "your_ap"       <<- your wireless
/sbin/iwconfig wlan0 key your_key          <<- your_key
/sbin/iwconfig wlan0 ap 00:00:00:00:00:00  <<- your ap
You should read the LQ rules;



I never considered it a violation of rules when they are all under my control in a supervised network. Also I was only considering alternatives to Remote desktop. However I would still like to thank everyone that helped contribute. This topic was mainly to extend my knowledge. A useful command I have found is netstats.
 
  


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
New Slackware User that needs help with commands. annihilan Linux - General 3 07-29-2008 04:50 AM
Recompiling kernel in Slackware, any special commands? Romanus81 Slackware 8 05-03-2008 12:08 PM
slackware commands (stopping samba from starting automatically, etc) fyr3 Slackware 6 06-24-2007 08:21 PM
Useful custom commands for Slackware thegeekster Slackware 56 03-08-2005 11:16 AM
scripting non-functional! Krenn Slackware 4 07-18-2004 08:29 PM


All times are GMT -5. The time now is 07:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration