Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
401 ls
391 v
381 l
234 cd
175 jo
171 mv
156 cp
150 wg
143 man
141 wget
This is the box I used to get online, not my main box, which is why wget is in there (v is an alias for less, l is 'ls -l', wg is 'wget -c --passive-ftp' to get through the firewall, jo is short for joe, the text editor).
And as root:
Quote:
184 ls
179 l
155 v
101 jo
96 cd
89 iptables
79 cp
76 rm
66 mount
42 route
Last edited by soggycornflake; 09-28-2006 at 11:40 AM.
Looks like my problem is unmounting stuff that apparently wasn't even mounted in the first place!
Hey! That post evidently bumped me up to a "Senior Member". Pretty pitiful actually. I was hoping for something more ... useful ... as the post that got me promoted!
[root@Test ~]# history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}' | sort|uniq -c | sort -rn | head -10
244 ls
89 cd
78 180
55 sed
54 vim
50 for
49 vi
39 grep
29 ssh
23 man
$ ~: history | cut -c 8-|cut -f1 -d" " | sort|uniq -c|sort -rn | head -n10
151 l
120 cd
67 cat
65 ls
47 sed
45 for
42 commands
34 vi
28 man
27 fg
# history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}' | sort|uniq -c | sort -rn | head -10
157 l
113 cat
101 cd
93 vi
66 apache2ctl
65 ls
53 cp
40 fg
36 rm
31 /etc/init.d/mysql
- commands is a thing that opens a logfile in vi. The logfile is like my personal howto for commands I use in bash or wherever.
- Go sed! Sed rules.
- fg is because I always <Ctrl>z out of vi to suspend it. Then resume vi with fg.
- I like to shutdown apache when i'm not testing websites on my box / same for mysql.
- for: I like one-liners.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.