I wrote a good length of description on the below but somehow my browser closed without saving that. So I am just putting the program below: #include #include #include #include #include int main(int argc, char ** argv) { DIR *dp; struct dirent *ep; char dirname[80]; GConfClient* client; int s; if (argc<=1) { printf(\”%d is argc\\n\”, [...]
Archive of posts filed under the Gnome category.
gnome-shell and gnome-do on F11 Screenshots
Here are some screenshots of gnome-shell : Technorati Tags: Fedora, Gnome, gnome shell, screenshot
Script to generate a html file with link to all files in directory
ls -1 |awk -F\”.\” \’{print \”<p><a href=\”\”,$_,\”\”> \”,$2,\”.\”,$3,\” </a></p>\” ;}\’ > index1.html And if you want to do it recursively ls -1R |awk -F\”.\” \’{print \”<p><a href=\”\”,$_,\”\”> \”,$2,\”.\”,$3,\” </a></p>\” ;}\’ > index1.html Sphere: Related Content Technorati Tags: html, index, Linux, one liner, one lliner, script










