10,117 reputation
11841
bio website
location
age
visits member for 2 years, 5 months
seen 9 hours ago

浪人


2d
comment How do I list files ending in txt only on Unix?
@Johnny - Why ? I'm not the OP so I don't know... Maybe because (s)he's "learning wildcards at the moment" and simply wants to filter out the given files without using the period ? And I don't see how the solutions may not meet his needs in other ways given the specific problem (s)he's trying to solve ("I have a directory with nine files in it... I want to display the 4 ending in .txt... etc").
2d
comment How do I list files ending in txt only on Unix?
Folks, what exactly is unclear about this question ?
2d
revised How do I list files ending in txt only on Unix?
added 36 characters in body
2d
answered How do I list files ending in txt only on Unix?
2d
comment Keyboard Shortcut for Applications Menu Extension Possible?
Link to the extension, please.
2d
awarded  Custodian
2d
reviewed No Action Needed Keyboard Shortcut for Applications Menu Extension Possible?
2d
revised Find the line number which contains the pattern with custom delimiter
added 22 characters in body
2d
answered Find the line number which contains the pattern with custom delimiter
Jan
29
reviewed Reject How to replace only the third occurrence of the file in unix using only sed command?
Jan
29
comment split line based on space and delete the second part
sed '/>/s/ .*//' bigfile
Jan
28
comment Should I install the AMD/Intel microcode packages when running Debian?
They're recommended upgrades. See "Detailed Description" on intel ucode page for what they do. As to why they are in non-free, I don't use Debian... I guess it's because they are released under Intel Software License Agreement and AMD Software License Agreement respectively.
Jan
28
reviewed Approve Where to put files on a installer?
Jan
28
revised How do I remove certain lines (using line numbers) in a file?
deleted 12 characters in body
Jan
28
answered How do I remove certain lines (using line numbers) in a file?
Jan
28
comment Switch between tabs command
Open dconf-editor and navigate to org>gnome>desktop>wm>keybindings see if you find there the shortcuts that you want to alter. HTH.
Jan
28
comment Mark files,folder in color using Debian Wheezy/Gnome
If you mean different icon color, it can be done, provided you have your own set of colored icons some place. Right click on the file/folder > properties > basic > click on the icon > select custom icon > point it to your custom icon.
Jan
28
revised Adding text to beginning of text file
deleted 72 characters in body
Jan
28
comment Adding text to beginning of text file
You just escape those as well, e.g. sed '1s/^/\/\/\'$'\n/' mytextfile (escaping means adding a backslash before the character has to be escaped). For the \'$'\n part, see this.
Jan
28
comment Adding text to beginning of text file
If you want to print to another file just add >outputfile after the command, e.g. sed '....' mytextfile >outputfile. If you want to update the existing file use -i e.g. sed -i '...' mytextfile or sed -i.bak ... mytextfile if you want to make a backup copy of your original file.