Linux Commands Ledbury/Help
Single Command creates file words that contatins 100 lines with numbers
for ((i=1 ; i <=20; i++)) ; do echo "This word is word" > words.txt VI editors vi words.txt Zebra the word Change all cournces of word to WORD on each line :%s/words/WORDS/g Delete twenteeth to 19th :20,19d Pounds to riches write a command which counts the number of empty lines grep -c^$ and file name write a command which displays all of the peoples accounts in the file grep ^[0-9] file name write a command which shows 3rd and 1st lines cut -d":" -f1,3 file name name string echo $str | tr 'a-z' 'A-Z' date + "A,%B_:y" |
Quote:
Any why does this look like some sort of homework assignment? |
I have been working with my friends in Ledbury and they had asked me some questions regarding some of the Linux commands above. So all of them could see what them I have posted them here.
|
What a bizarre use of a forum...
|
Format and editing
Formatting use one of these commands
fdformat mount umount Editing use one of these commands vi pico Hope this helps Mark |
Quote:
Seriously, klanz: This is not why LQ is here. Even if the rules allow this, you are violating the intent. |
All members have their own blog space: http://www.linuxquestions.org/linux/blog/ and I would very much suggest that that would be the best place for this. Or even, maybe your school has some web space you could use?
|
Quote:
And if you 're just dumping commands on here, why aren't you telling your friends to either read RUTE or get one of the Running Linux or Linux in a Nutshell books? Book reviews are here and I am sure your BFFs would find them useful. |
Wonder how you use umount to format a disk. top quality information there... Hope the cheating works out for you.
|
Also, how do you use pico if pine isn't installed??
|
All times are GMT -5. The time now is 04:16 PM. |