LinuxQuestions.org
Review your favorite Linux distribution.
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-05-2013, 10:00 AM   #1
pavanaaroshni
LQ Newbie
 
Registered: Aug 2013
Posts: 9

Rep: Reputation: Disabled
Command line programs?


I have always been so/so on the linux command line. Does anyone have some onliners to share to get me started? I'd like to have some to look at, that i know are being used daily, so that i can research them some
 
Old 08-05-2013, 10:16 AM   #2
Pyplate
LQ Newbie
 
Registered: Jun 2013
Location: Worcestershire, UK
Distribution: Ubuntu,lubuntu,raspbian
Posts: 17
Blog Entries: 30

Rep: Reputation: Disabled
Here's a good place to start: https://help.ubuntu.com/community/Be.../BashScripting and http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html.
 
Old 08-05-2013, 10:34 AM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,774
Blog Entries: 1

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
nmap commands
nmap --reason 192.168.1.1
nmap --packet-trace 192.168.1.1
nmap --iflist

find name of glibc's dynamic linker
readelf -l /bin/bash | grep interpreter

get urls from website
lynx -dump -listonly http://www.linuxfromscratch.org/lfs/.../packages.html

download all urls from website
lynx -dump -listonly -nonumbers http://www.linuxfromscratch.org | xargs -n1 wget
or
lynx -dump -listonly -nonumbers http://www.linuxfromscratch.org | egrep '(\.xz|\.bz2|\.gz|\.tar)' | xargs -n1 wget

debug filesystem
debugfs

make multiple directories
mkdir somedirectory/{this that other}

dd with progress
dd if=/dev/zero | pv | dd of=/dev/somedrive

repeat last command but change word1 to word2
^word1^word2^

remove trailing date from sql files
for f in *.sql; do
mv -- "$f" "${f%%-*}.sql"
 
2 members found this post helpful.
Old 08-05-2013, 10:42 AM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Not being dismissive but the bash man page is very informative and written in a way that people can understand it.
 
Old 08-05-2013, 02:00 PM   #6
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,163
Blog Entries: 10

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
Over here you asked why Linux sucks so baddly, and here, you're asking for help?

If Linux is hard you're doing it wrong.
 
1 members found this post helpful.
  


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
Multiple Command-Line Programs skibud2 Linux - Software 1 03-18-2007 07:17 PM
get programs on net from command line brianetilley Linux - Networking 1 12-07-2005 10:42 AM
launching programs from command line in FS dertien Linux - Software 1 11-26-2004 10:27 AM
Launching Programs From the Command Line Chryzmo Linux - Software 5 03-03-2004 09:00 PM
Running programs from Command Line SirLostalot Linux - Newbie 1 11-11-2002 10:24 PM


All times are GMT -5. The time now is 04:44 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